- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.omg.CORBA.UserException
-
- org.omg.CORBA.TypeCodePackage.Bounds
-
- All Implemented Interfaces:
-
Serializable
,IDLEntity
public final class Bounds extends UserException
提供TypeCode
操作member_name()
,member_type()
,并member_label
。 当索引参数大于或等于构成类型的成员数时,这些方法会引发Bounds
。- 从以下版本开始:
- JDK1.2
-
-
方法摘要
-
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
-
-
-
-
构造方法详细信息
-
Bounds
public Bounds()
构造一个没有原因的Bounds
异常消息。
-
Bounds
public Bounds(String reason)
构造具有指定原因消息的Bounds
异常。- 参数
-
reason
- 包含原因消息的字符串
-
-