Class ApplicationException

  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:

public class ApplicationException
extends java.lang.RuntimeException

This exception should only be used by Resteasy integrators. Application code should use WebApplicationException An exception thrown by the application.

We don't reuse WebApplicationException as it provides a Response object. This exception means that the Resteasy runtime must handle the exception. i.e. Find an ExceptionMapper to map it to a Response, or let some interceptor handle it in a special way.

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

Constructor Summary
ApplicationException(java.lang.String s, java.lang.Throwable throwable)
ApplicationException(java.lang.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


public ApplicationException(java.lang.String s,
                            java.lang.Throwable throwable)


public ApplicationException(java.lang.Throwable throwable)

Copyright © 2009. All Rights Reserved.