|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.jgroups.ChannelException
This class represents the super class for all exception types thrown by JGroups.
Constructor Summary | |
ChannelException()
|
|
ChannelException(java.lang.String reason)
|
|
ChannelException(java.lang.String reason,
java.lang.Throwable cause)
|
Method Summary | |
java.lang.Throwable |
getCause()
Retrieves the cause of this exception as passed to the constructor. |
void |
printStackTrace()
Prints this exception's stack trace to standard error. |
void |
printStackTrace(java.io.PrintStream ps)
Prints this exception's stack trace to the provided stream. |
void |
printStackTrace(java.io.PrintWriter pw)
Prints this exception's stack trace to the provided writer. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ChannelException()
public ChannelException(java.lang.String reason)
public ChannelException(java.lang.String reason, java.lang.Throwable cause)
Method Detail |
public java.lang.String toString()
public java.lang.Throwable getCause()
This method is provided so that in the case that a 1.3 VM is used,
1.4-like exception chaining functionality is possible. If a 1.4 VM is
used, this method will override Throwable.getCause()
with a
version that does exactly the same thing.
public void printStackTrace()
This method is provided so that in the case that a 1.3 VM is used, calls
to printStackTrace
can be intercepted so that 1.4-like
exception chaining functionality is possible.
public void printStackTrace(java.io.PrintStream ps)
This method implements the 1.4-like exception chaining functionality when printing stack traces for 1.3 VMs. If a 1.4 VM is used, this call is delegated only to the super class.
ps
- the stream to which the stack trace will be "printed".public void printStackTrace(java.io.PrintWriter pw)
This method implements the 1.4-like exception chaining functionality when printing stack traces for 1.3 VMs. If a 1.4 VM is used, this call is delegated only to the super class.
pw
- the writer to which the stack trace will be "printed".
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |