类 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
- 所有已实现的接口:
Serializable
public class UnableToSendNotificationException extends JmxException
Thrown when a JMXNotification
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.- 从以下版本开始:
- 2.0
- 作者:
- Rob Harrop
- 另请参阅:
NotificationPublisher
, 序列化表格
构造器概要
构造器 构造器 说明 UnableToSendNotificationException(String msg)
Create 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.
方法概要
从类继承的方法 org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
构造器详细资料
UnableToSendNotificationException
public UnableToSendNotificationException(String msg)
Create a new instance of theUnableToSendNotificationException
class with the specified error message.- 参数:
msg
- the detail message
UnableToSendNotificationException
public UnableToSendNotificationException(String msg, Throwable cause)
Create a new instance of theUnableToSendNotificationException
with the specified error message and root cause.- 参数:
msg
- the detail messagecause
- the root cause