- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.IllegalStateException
-
- com.sun.nio.sctp.IllegalReceiveException
-
- All Implemented Interfaces:
-
Serializable
public class IllegalReceiveException extends IllegalStateException
尝试从通知处理程序调用SctpChannel
或SctpMultiChannel
的receive
方法时抛出未经检查的异常。- 从以下版本开始:
- 1.7
- 另请参见:
- Serialized Form
-
-
构造方法摘要
构造方法 Constructor 描述 IllegalReceiveException()
构造这个类的一个实例。IllegalReceiveException(String msg)
使用指定的消息构造此类的实例。
-
方法摘要
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
构造方法详细信息
-
IllegalReceiveException
public IllegalReceiveException()
构造这个类的一个实例。
-
IllegalReceiveException
public IllegalReceiveException(String msg)
使用指定的消息构造此类的实例。- 参数
-
msg
- 包含详细消息的字符串
-
-