org.omg.CosNaming.NamingContextPackage
Class InvalidName
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.omg.CORBA.UserException
org.omg.CosNaming.NamingContextPackage.InvalidName
- All Implemented Interfaces:
- Serializable, IDLEntity
public final class InvalidName
- extends UserException
- implements IDLEntity
The exception is thrown if the name has the zero length or is otherwise
invalid.
- See Also:
- Serialized Form
Constructor Summary |
InvalidName()
The default constructor. |
InvalidName(String why)
Creates an exception with explanation, why the name is invalid. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
InvalidName
public InvalidName()
- The default constructor.
InvalidName
public InvalidName(String why)
- Creates an exception with explanation, why the name is invalid.
- Parameters:
why
- the string, explaining why the name is invalid.