winstone
Class WinstoneException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
winstone.WinstoneException
- All Implemented Interfaces:
- java.io.Serializable
public class WinstoneException
- extends java.lang.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 |
WinstoneException(java.lang.String pMsg)
Create an exception with a useful message for the system administrator. |
WinstoneException(java.lang.String pMsg,
java.lang.Throwable pError)
Create an exception with a useful message for the system administrator
and a nested throwable object. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
WinstoneException
public WinstoneException(java.lang.String pMsg)
- Create an exception with a useful message for the system administrator.
- Parameters:
pMsg
- Error message for to be used for administrative
troubleshooting
WinstoneException
public WinstoneException(java.lang.String pMsg,
java.lang.Throwable pError)
- 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
getNestedError
public java.lang.Throwable getNestedError()
- Get the nested error or exception
- Returns:
- The nested error or exception
printStackTrace
public void printStackTrace(java.io.PrintWriter p)
- Overrides:
printStackTrace
in class java.lang.Throwable
printStackTrace
public void printStackTrace(java.io.PrintStream p)
- Overrides:
printStackTrace
in class java.lang.Throwable
printStackTrace
public void printStackTrace()
- Overrides:
printStackTrace
in class java.lang.Throwable
Copyright © 2013. All Rights Reserved.