org.omg.PortableInterceptor.ORBInitInfoPackage
Class InvalidName

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.omg.CORBA.UserException
              extended by 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.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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.