public class CargoException extends RuntimeException
| Constructor and Description |
|---|
CargoException(String message) |
CargoException(String message,
Throwable throwable) |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
getOriginalThrowable() |
void |
printStackTrace()
Print the full stack trace, including the original exception.
|
void |
printStackTrace(PrintStream ps)
Print the full stack trace, including the original exception.
|
void |
printStackTrace(PrintWriter pw)
Print the full stack trace, including the original exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toStringpublic CargoException(String message)
message - the exception messagepublic Throwable getOriginalThrowable()
public void printStackTrace()
printStackTrace in class Throwablepublic void printStackTrace(PrintStream ps)
printStackTrace in class Throwableps - the byte stream in which to print the stack tracepublic void printStackTrace(PrintWriter pw)
printStackTrace in class Throwablepw - the character stream in which to print the stack traceCopyright © 2004-2013 Codehaus. All Rights Reserved.