public abstract class PicoException
extends java.lang.RuntimeException
NullPointerException when
null values are provided for method arguments, and this is not allowed.| Modifier and Type | Field and Description |
|---|---|
private java.lang.Throwable |
cause
The exception that caused this one.
|
| Modifier | Constructor and Description |
|---|---|
protected |
PicoException()
Construct a new exception with no cause and no detail message.
|
protected |
PicoException(java.lang.String message)
Construct a new exception with no cause and the specified detail message.
|
protected |
PicoException(java.lang.String message,
java.lang.Throwable cause)
Construct a new exception with the specified cause and the specified detail message.
|
protected |
PicoException(java.lang.Throwable cause)
Construct a new exception with the specified cause and no detail message.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Throwable |
getCause()
Retrieve the exception that caused this one.
|
void |
printStackTrace()
Overridden to provide 1.4 style stack traces on pre-1.4.
|
void |
printStackTrace(java.io.PrintStream s)
Overridden to provide 1.4 style stack traces on pre-1.4.
|
void |
printStackTrace(java.io.PrintWriter s)
Overridden to provide 1.4 style stack traces on pre-1.4.
|
protected PicoException()
protected PicoException(java.lang.String message)
message - the message detailing the exception.protected PicoException(java.lang.Throwable cause)
cause - the exception that caused this one.protected PicoException(java.lang.String message,
java.lang.Throwable cause)
message - the message detailing the exception.cause - the exception that caused this one.public java.lang.Throwable getCause()
getCause in class java.lang.Throwablethe method available since JDK 1.4 that is overridden by this method.public void printStackTrace()
printStackTrace in class java.lang.Throwables - the PrintStream used to print the stack tracepublic void printStackTrace(java.io.PrintStream s)
printStackTrace in class java.lang.Throwablepublic void printStackTrace(java.io.PrintWriter s)
printStackTrace in class java.lang.Throwables - the PrintWriter used to print the stack trace