Class ProcessingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.openjpa.persistence.jest.ProcessingException
- All Implemented Interfaces:
Serializable
Specialized RuntimException thrown by JEST commands.
The exception can be serialized to the output stream of a HTTP Servlet response as a HTML page.
- Author:
- Pinaki Poddar
- See Also:
-
Constructor Summary
ConstructorDescriptionProcessingException
(JPAServletContext ctx, Throwable error) ProcessingException
(JPAServletContext ctx, Throwable error, int errorCode) ProcessingException
(JPAServletContext ctx, Throwable error, Localizer.Message message) ProcessingException
(JPAServletContext ctx, Throwable error, Localizer.Message message, int errorCode) ProcessingException
(JPAServletContext ctx, Localizer.Message message, int errorCode) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Prints the stack trace in a HTML format on the given response output stream.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ProcessingException
-
ProcessingException
-
ProcessingException
-
ProcessingException
-
ProcessingException
public ProcessingException(JPAServletContext ctx, Throwable error, Localizer.Message message, int errorCode)
-
-
Method Details
-
printStackTrace
public void printStackTrace()Prints the stack trace in a HTML format on the given response output stream.- Overrides:
printStackTrace
in classThrowable
- Parameters:
response
-- Throws:
IOException
-