|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.management.JMRuntimeException
com.sun.jdmk.comm.CommunicationException
public class CommunicationException
Represents exceptions raised due to communications problems, for example when a managed object server is out of reach.
Constructor Summary | |
---|---|
CommunicationException(java.lang.String msg)
Constructs a CommunicationException with a detail message. |
|
CommunicationException(java.lang.Throwable target)
Constructs a CommunicationException with a target exception. |
|
CommunicationException(java.lang.Throwable target,
java.lang.String msg)
Constructs a CommunicationException with a target exception and a detail message. |
Method Summary | |
---|---|
java.lang.Throwable |
getTargetException()
Get the thrown target exception. |
void |
printStackTrace()
Prints the stack trace of the thrown target exception. |
void |
printStackTrace(java.io.PrintStream ps)
Prints the stack trace of the thrown target exception to the specified print stream. |
void |
printStackTrace(java.io.PrintWriter pw)
Prints the stack trace of the thrown target exception to the specified print writer. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CommunicationException(java.lang.Throwable target)
public CommunicationException(java.lang.Throwable target, java.lang.String msg)
public CommunicationException(java.lang.String msg)
Method Detail |
---|
public java.lang.Throwable getTargetException()
public void printStackTrace()
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintStream ps)
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintWriter pw)
printStackTrace
in class java.lang.Throwable
|
Open Source build 01-ea opendmk-1.0-b01-ea 2010.10.22_13:26:06_UTC |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |