Methods Summary |
---|
public java.lang.Throwable | getCause()
return cause;
|
public java.lang.String | getMessage()Returns the detail message string of this throwable. If it was
created with a null message, returns the following:
( cause==null ? null : cause.toString( ).
if ( super.getMessage() != null ) {
return super.getMessage();
}
else if ( cause != null ) {
return cause.toString();
}
else {
return null;
}
|
public java.lang.String | getMessage(int index)
if ( index == 0 ) {
return super.getMessage();
}
else {
return delegate.getMessage( index );
}
|
public java.lang.String[] | getMessages()
return delegate.getMessages();
|
public java.lang.Throwable | getThrowable(int index)
return delegate.getThrowable( index );
|
public int | getThrowableCount()
return delegate.getThrowableCount();
|
public java.lang.Throwable[] | getThrowables()
return delegate.getThrowables();
|
public int | indexOfThrowable(java.lang.Class type)
return delegate.indexOfThrowable( type, 0 );
|
public int | indexOfThrowable(java.lang.Class type, int fromIndex)
return delegate.indexOfThrowable( type, fromIndex );
|
public final void | printPartialStackTrace(java.io.PrintWriter out)
super.printStackTrace( out );
|
public void | printStackTrace()
delegate.printStackTrace();
|
public void | printStackTrace(java.io.PrintStream out)
delegate.printStackTrace( out );
|
public void | printStackTrace(java.io.PrintWriter out)
delegate.printStackTrace( out );
|
private void | writeObject(java.io.ObjectOutputStream oos)
Throwable tempCause = cause;
//don't propagate RecognitionException, might be not serializable
if ( cause instanceof RecognitionException ) {
cause = null;
}
oos.defaultWriteObject();
cause = tempCause;
|