Package winstone
Class WinstoneException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- winstone.WinstoneException
-
- All Implemented Interfaces:
Serializable
public class WinstoneException extends RuntimeException
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WinstoneException(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Throwable
getNestedError()
Get the nested error or exception-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
WinstoneException
public WinstoneException(String pMsg)
Create an exception with a useful message for the system administrator.- Parameters:
pMsg
- Error message for to be used for administrative troubleshooting
-
-
Method Detail
-
getNestedError
public Throwable getNestedError()
Get the nested error or exception- Returns:
- The nested error or exception
-
-