Package winstone
Class WinstoneException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
winstone.WinstoneException
- All Implemented Interfaces:
Serializable
Master exception within the servlet container. This is thrown whenever a
non-recoverable error occurs that we want to throw to the top of the
application.
- Version:
- $Id: WinstoneException.java,v 1.1 2004/03/08 15:27:21 rickknowles Exp $
- Author:
- Rick Knowles
- See Also:
-
Constructor Summary
ConstructorDescriptionWinstoneException
(String pMsg) Create an exception with a useful message for the system administrator.WinstoneException
(String pMsg, Throwable pError) Create an exception with a useful message for the system administrator and a nested throwable object. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
WinstoneException
Create an exception with a useful message for the system administrator.- Parameters:
pMsg
- Error message for to be used for administrative troubleshooting
-
WinstoneException
Create an exception with a useful message for the system administrator and a nested throwable object.- Parameters:
pMsg
- Error message for administrative troubleshootingpError
- The actual exception that occurred
-
-
Method Details
-
getNestedError
Get the nested error or exception- Returns:
- The nested error or exception
-