public class WinstoneException extends RuntimeException
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
Throwable |
getNestedError()
Get the nested error or exception
|
void |
printStackTrace() |
void |
printStackTrace(PrintStream p) |
void |
printStackTrace(PrintWriter p) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
public WinstoneException(String pMsg)
pMsg
- Error message for to be used for administrative
troubleshootingpublic Throwable getNestedError()
public void printStackTrace(PrintWriter p)
printStackTrace
in class Throwable
public void printStackTrace(PrintStream p)
printStackTrace
in class Throwable
public void printStackTrace()
printStackTrace
in class Throwable
Copyright © 2014. All rights reserved.