org.omg.PortableInterceptor.ORBInitInfoPackage
Class InvalidName
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.omg.CORBA.UserException
org.omg.PortableInterceptor.ORBInitInfoPackage.InvalidName
- All Implemented Interfaces:
- Serializable, IDLEntity
public final class InvalidName
- extends UserException
- implements IDLEntity, Serializable
This exception is raised by methods in
ORBInitInfoOperations
on the attempt to
register or resolve an invalid name like empty string. The already
registered names (including the default names, defined by OMG) are also
invalid for registration.
- See Also:
- Serialized Form
Constructor Summary |
InvalidName()
Create InvalidName with no explaining message. |
InvalidName(String why)
Create the InvalidName with explaining message. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
InvalidName
public InvalidName()
- Create InvalidName with no explaining message.
InvalidName
public InvalidName(String why)
- Create the InvalidName with explaining message.
- Parameters:
why
- a string, explaining, why the name is invalid.