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, toString
public CargoException(String message)
message
- the exception messagepublic Throwable getOriginalThrowable()
public void printStackTrace()
printStackTrace
in class Throwable
public void printStackTrace(PrintStream ps)
printStackTrace
in class Throwable
ps
- the byte stream in which to print the stack tracepublic void printStackTrace(PrintWriter pw)
printStackTrace
in class Throwable
pw
- the character stream in which to print the stack traceCopyright © 2004-2013 Codehaus. All Rights Reserved.