winstone
Class WinstoneException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by 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.
 
Method Summary
 java.lang.Throwable getNestedError()
          Get the nested error or exception
 void printStackTrace()
           
 void printStackTrace(java.io.PrintStream p)
           
 void printStackTrace(java.io.PrintWriter p)
           
 
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
 

Constructor Detail

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 troubleshooting
pError - The actual exception that occurred
Method Detail

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.