Methods Summary |
---|
public java.lang.String | getMessage()Returns the error message string of this throwable object.
String message = super.getMessage();
if (StringHelper.isEmpty(message))
{
Throwable target = getTargetException();
message = target.getMessage();
}
return message;
|
public java.lang.Throwable | getTargetException()Get the thrown target exception. return _target;
|
public void | printStackTrace()Prints the stack trace of the thrown target exception.
printStackTrace(System.err);
|
public void | printStackTrace(java.io.PrintStream ps)Prints the stack trace of the thrown target exception to the specified
print stream.
synchronized (ps)
{
Throwable target = getTargetException();
if (target != null)
{
ps.print(getClass() + ": "); // NOI18N
target.printStackTrace(ps);
}
else
super.printStackTrace(ps);
}
|
public void | printStackTrace(java.io.PrintWriter pw)Prints the stack trace of the thrown target exception to the
specified print writer.
synchronized (pw)
{
Throwable target = getTargetException();
if (target != null)
{
pw.print(getClass() + ": "); // NOI18N
target.printStackTrace(pw);
}
else
super.printStackTrace(pw);
}
|