smbdav
Class ErrorHandlerException
java.lang.Object
java.lang.Throwable
java.lang.Exception
smbdav.ErrorHandlerException
- All Implemented Interfaces:
- java.io.Serializable
- public class ErrorHandlerException
- extends java.lang.Exception
An ErrorHandlerException wraps an underlying
Throwable object, and is thrown to circumvent the Davenport
error handling chain. Rather than passing this exception on to the next
handler in the chain, error handling will stop with the intent to throw
the underlying throwable object (if non-null).
- Author:
- Eric Glass
- See Also:
- Serialized Form
|
Constructor Summary |
ErrorHandlerException()
Creates an ErrorHandlerException with no underlying
throwable object. |
ErrorHandlerException(java.lang.Throwable throwable)
Creates an ErrorHandlerException wrapping the specified
throwable. |
|
Method Summary |
java.lang.Throwable |
getThrowable()
Returns the wrapped Throwable object for this
ErrorHandlerException. |
| 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 |
ErrorHandlerException
public ErrorHandlerException()
- Creates an
ErrorHandlerException with no underlying
throwable object. This is used to simply circumvent the error
handler chain.
ErrorHandlerException
public ErrorHandlerException(java.lang.Throwable throwable)
- Creates an
ErrorHandlerException wrapping the specified
throwable.
- Parameters:
throwable - The Throwable object that is intended
to be thrown out to the container.
getThrowable
public java.lang.Throwable getThrowable()
- Returns the wrapped
Throwable object for this
ErrorHandlerException.
Copyright © 2004 Eric Glass