- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.omg.CORBA.UserException
-
- org.omg.CORBA.ORBPackage.InvalidName
-
- All Implemented Interfaces:
-
Serializable
,IDLEntity
public final class InvalidName extends UserException
当ORB.resolve_initial_references
传递了一个没有初始引用的名称时,ORB.resolve_initial_references
InvalidName
异常。- 从以下版本开始:
- JDK1.2
- 另请参见:
-
ORB.resolve_initial_references(String)
-
-
构造方法摘要
构造方法 Constructor 描述 InvalidName()
构造一个没有原因的InvalidName
异常消息。InvalidName(String reason)
构造具有指定原因消息的InvalidName
异常。
-
方法摘要
-
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
-
-
-
-
构造方法详细信息
-
InvalidName
public InvalidName()
构造一个没有原因的InvalidName
异常。
-
InvalidName
public InvalidName(String reason)
构造具有指定原因消息的InvalidName
异常。- 参数
-
reason
- 包含原因消息的字符串
-
-