Class UnableToSendNotificationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.jmx.JmxException
org.springframework.jmx.export.notification.UnableToSendNotificationException
- All Implemented Interfaces:
Serializable
Thrown when a JMX
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.
- Since:
- 2.0
- Author:
- Rob Harrop
- See Also:
-
Constructor Summary
ConstructorDescriptionCreate a new instance of theUnableToSendNotificationException
class with the specified error message.UnableToSendNotificationException
(String msg, Throwable cause) Create a new instance of theUnableToSendNotificationException
with the specified error message and root cause. -
Method Summary
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnableToSendNotificationException
Create a new instance of theUnableToSendNotificationException
class with the specified error message.- Parameters:
msg
- the detail message
-
UnableToSendNotificationException
Create a new instance of theUnableToSendNotificationException
with the specified error message and root cause.- Parameters:
msg
- the detail messagecause
- the root cause
-