public class UnableToSendNotificationException extends JmxException
Notification
is unable to be sent.
The root cause of just why a particular notification could not be sent
will typically be available via the Throwable.getCause()
property.
NotificationPublisher
,
Serialized FormConstructor and Description |
---|
UnableToSendNotificationException(java.lang.String msg)
Create a new instance of the
UnableToSendNotificationException
class with the specified error message. |
UnableToSendNotificationException(java.lang.String msg,
java.lang.Throwable cause)
Create a new instance of the
UnableToSendNotificationException
with the specified error message and root cause. |
contains, getMessage, getMostSpecificCause, getRootCause
public UnableToSendNotificationException(java.lang.String msg)
UnableToSendNotificationException
class with the specified error message.msg
- the detail messagepublic UnableToSendNotificationException(java.lang.String msg, java.lang.Throwable cause)
UnableToSendNotificationException
with the specified error message and root cause.msg
- the detail messagecause
- the root cause