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(String msg)
Create a new instance of the
UnableToSendNotificationException
class with the specified error message. |
UnableToSendNotificationException(String msg,
Throwable cause)
Create a new instance of the
UnableToSendNotificationException
with the specified error message and root cause. |
contains, getMessage, getMostSpecificCause, getRootCause
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public UnableToSendNotificationException(String msg)
UnableToSendNotificationException
class with the specified error message.msg
- the detail messagepublic UnableToSendNotificationException(String msg, Throwable cause)
UnableToSendNotificationException
with the specified error message and root cause.msg
- the detail messagecause
- the root cause