All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jboss.resteasy.spi.ApplicationException Maven / Gradle / Ivy

There is a newer version: 4.0.0.Beta5
Show newest version
package org.jboss.resteasy.spi;

/**
 * This exception is thrown internally by Resteasy runtime.  Any server exception thrown by jaxrs resource method code will be caught
 * and wrapped by this exception.  If you want to catch all exceptions thrown by jaxrs resource methods, write an exception
 * mapper for ApplicationException.
 *
 * This exception should only be used by Resteasy integrators.
 *
 * @author Bill Burke
 * @version $Revision: 1 $
 */
public final class ApplicationException extends RuntimeException
{
   public ApplicationException(final String s, final Throwable throwable)
   {
      super(s, throwable);
   }

   public ApplicationException(final Throwable throwable)
   {
      super(throwable);
   }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy