org.omg.PortableInterceptor.ORBInitInfoPackage

Class InvalidName

public final class InvalidName extends UserException implements IDLEntity, Serializable

This exception is raised by methods in {@link org.omg.PortableInterceptor.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.
Constructor Summary
InvalidName()
Create InvalidName with no explaining message.
InvalidName(String why)
Create the InvalidName with explaining message.

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.