org.jgroups
Class ChannelException
Exception
org.jgroups.ChannelException
public class ChannelException
extends Exception
This class represents the super class for all exception types thrown by
JGroups.
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(PrintStream ps) - Prints this exception's stack trace to the provided stream.
|
void | printStackTrace(PrintWriter pw) - Prints this exception's stack trace to the provided writer.
|
String | toString()
|
ChannelException
public ChannelException()
ChannelException
public ChannelException(String reason)
ChannelException
public ChannelException(String reason,
Throwable cause)
getCause
public Throwable getCause()
Retrieves the cause of this exception as passed to the constructor.
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.
- the cause of this exception.
printStackTrace
public void printStackTrace()
Prints this exception's stack trace to standard error.
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.
printStackTrace
public void printStackTrace(PrintStream ps)
Prints this exception's stack trace to the provided stream.
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".
printStackTrace
public void printStackTrace(PrintWriter pw)
Prints this exception's stack trace to the provided writer.
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".
toString
public String toString()
Copyright B) 2001,2002 www.jgroups.com . All Rights Reserved.