|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--java.lang.RuntimeException | +--javax.management.JMRuntimeException | +--com.sun.jdmk.comm.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,
getLocalizedMessage,
getMessage,
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()
public void printStackTrace(java.io.PrintStream ps)
public void printStackTrace(java.io.PrintWriter pw)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |