public class ErrorUnwindException
extends java.lang.Exception
This is used to assist in implementing silent error mode processing (see
ErrorManager
) in a library when a simple silent return is not easy
to do. This class is used to unwind the stack to the point in the library
where a silent return is possible. This exception must be caught
in the library code because it will not be caught in the client
application. Use of this exception should be completely hidden from the
client application.
Constructor and Description |
---|
ErrorUnwindException()
Default constructor which uses an empty string "" as its message.
|
ErrorUnwindException(java.lang.String message)
Constructor which accepts an error message.
|
ErrorUnwindException(java.lang.String message,
java.lang.Throwable rootCause)
Constructor which accepts an error message and a root cause.
|
ErrorUnwindException(java.lang.Throwable rootCause)
Constructor which accepts and wrappers a root cause.
|
public ErrorUnwindException()
public ErrorUnwindException(java.lang.String message)
message
- Error message.public ErrorUnwindException(java.lang.String message, java.lang.Throwable rootCause)
message
- Error message.rootCause
- Exception which has been caught in the course of processing.public ErrorUnwindException(java.lang.Throwable rootCause)
rootCause
- Exception which has been caught in the course of processing.