org.omg.CosNaming.NamingContextPackage
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.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.
 
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()
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.