org.omg.CosNaming.NamingContextPackage
Class NotFound

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.NotFound
All Implemented Interfaces:
Serializable, IDLEntity

public final class NotFound
extends UserException
implements IDLEntity

The exception is thrown when the binding being searched does not exist or has the wrong type

See Also:
Serialized Form

Field Summary
 NameComponent[] rest_of_name
          Contains the remainder of the non working name.
 NotFoundReason why
          The reason, explaining, why the binding cannot be found.
 
Constructor Summary
NotFound()
          Creates the exception with unitialised fields.
NotFound(NotFoundReason _why, NameComponent[] _rest_of_name)
          Creates the exception, intialising the fields to the given values.
NotFound(String explanation, NotFoundReason _why, NameComponent[] _rest_of_name)
          Creates the exception, intialising the fields to the given values and also providing the explaining string.
 
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
 

Field Detail

why

public NotFoundReason why
The reason, explaining, why the binding cannot be found. This might be either the missing node or the wrong binding type.


rest_of_name

public NameComponent[] rest_of_name
Contains the remainder of the non working name.

Constructor Detail

NotFound

public NotFound()
Creates the exception with unitialised fields.


NotFound

public NotFound(NotFoundReason _why,
                NameComponent[] _rest_of_name)
Creates the exception, intialising the fields to the given values.


NotFound

public NotFound(String explanation,
                NotFoundReason _why,
                NameComponent[] _rest_of_name)
Creates the exception, intialising the fields to the given values and also providing the explaining string.

Since:
1.4