public class WinstoneException
extends java.lang.RuntimeException
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Throwable |
getNestedError()
Get the nested error or exception
|
void |
printStackTrace() |
void |
printStackTrace(java.io.PrintStream p) |
void |
printStackTrace(java.io.PrintWriter p) |
public WinstoneException(java.lang.String pMsg)
pMsg
- Error message for to be used for administrative
troubleshootingpublic WinstoneException(java.lang.String pMsg, java.lang.Throwable pError)
pMsg
- Error message for administrative troubleshootingpError
- The actual exception that occurredpublic java.lang.Throwable getNestedError()
public void printStackTrace(java.io.PrintWriter p)
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintStream p)
printStackTrace
in class java.lang.Throwable
public void printStackTrace()
printStackTrace
in class java.lang.Throwable
Copyright © 2013. All Rights Reserved.