org.glassfish.jersey.internal
Class ProcessingException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.glassfish.jersey.internal.ProcessingException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
HeaderValueException

public class ProcessingException
extends RuntimeException

Runtime exception to be caught by the container.

This exception may be thrown by the application signaling that the container should handle the exception to produce an appropriate HTTP response.

This exception may also be thrown by the runtime if an exception occurs that should be handled by the container.

Author:
Paul Sandoz
See Also:
Serialized Form

Constructor Summary
ProcessingException()
          Construct a new container exception with the supplied message.
ProcessingException(String message)
          Construct a new container exception with the supplied message.
ProcessingException(String message, Throwable cause)
          Construct a new container exception with the supplied message and cause.
ProcessingException(Throwable cause)
          Construct a new container exception with the supplied cause.
 
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

ProcessingException

public ProcessingException()
Construct a new container exception with the supplied message.


ProcessingException

public ProcessingException(String message)
Construct a new container exception with the supplied message.

Parameters:
message - the exception message.

ProcessingException

public ProcessingException(String message,
                           Throwable cause)
Construct a new container exception with the supplied message and cause.

Parameters:
message - the exception message.
cause - the exception cause.

ProcessingException

public ProcessingException(Throwable cause)
Construct a new container exception with the supplied cause.

Parameters:
cause - the exception cause.


Copyright © 2007-2013 Oracle Corporation. All Rights Reserved. Use is subject to license terms.