RESTEasy JAX-RS Implementation 2.3.6.Final-redhat-1

org.jboss.resteasy.spi
Class ApplicationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.jboss.resteasy.spi.ApplicationException
All Implemented Interfaces:
Serializable

public final class ApplicationException
extends RuntimeException

This exception is thrown internally by Resteasy runtime. Any 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.

Version:
$Revision: 1 $
Author:
Bill Burke
See Also:
Serialized Form

Constructor Summary
ApplicationException(String s, Throwable throwable)
           
ApplicationException(Throwable throwable)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ApplicationException

public ApplicationException(String s,
                            Throwable throwable)

ApplicationException

public ApplicationException(Throwable throwable)

RESTEasy JAX-RS Implementation 2.3.6.Final-redhat-1

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.