Class ResinException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.codehaus.cargo.container.resin.internal.ResinException
-
- All Implemented Interfaces:
Serializable
public class ResinException extends RuntimeException
We need a ResinException class as the rest of Codehaus Cargo is built with a newer Java version than Resin, and theResinRun
class requires Java 6.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ResinException(String message)
ResinException(String message, Throwable throwable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
-
-
-
Method Detail
-
getOriginalThrowable
public Throwable getOriginalThrowable()
- Returns:
- the wrapped exception
-
printStackTrace
public void printStackTrace()
Print the full stack trace, including the original exception.- Overrides:
printStackTrace
in classThrowable
-
printStackTrace
public void printStackTrace(PrintStream ps)
Print the full stack trace, including the original exception.- Overrides:
printStackTrace
in classThrowable
- Parameters:
ps
- the byte stream in which to print the stack trace
-
printStackTrace
public void printStackTrace(PrintWriter pw)
Print the full stack trace, including the original exception.- Overrides:
printStackTrace
in classThrowable
- Parameters:
pw
- the character stream in which to print the stack trace
-
-