public class

CommunicationException

extends JMRuntimeException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ javax.management.JMRuntimeException
           ↳ com.sun.jmx.snmp.daemon.CommunicationException

Class Overview

Represents exceptions raised due to communications problems, for example when a managed object server is out of reach.

This API is a Sun Microsystems internal API and is subject to change without notice.

Summary

Public Constructors
CommunicationException(Throwable target)
Constructs a CommunicationException with a target exception.
CommunicationException(Throwable target, String msg)
Constructs a CommunicationException with a target exception and a detail message.
CommunicationException(String msg)
Constructs a CommunicationException with a detail message.
Public Methods
Throwable getTargetException()
Get the thrown target exception.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public CommunicationException (Throwable target)

Constructs a CommunicationException with a target exception.

public CommunicationException (Throwable target, String msg)

Constructs a CommunicationException with a target exception and a detail message.

public CommunicationException (String msg)

Constructs a CommunicationException with a detail message.

Public Methods

public Throwable getTargetException ()

Get the thrown target exception.