org.omg.PortableServer.CurrentPackage
Class NoContext

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.omg.CORBA.UserException
              extended by org.omg.PortableServer.CurrentPackage.NoContext
All Implemented Interfaces:
Serializable, IDLEntity

public final class NoContext
extends UserException
implements IDLEntity, Serializable

This exception may be thrown by methods in CurrentOperations if they are invoked outside the context of a POA-dispatched operation.

See Also:
CurrentOperations.get_POA(), CurrentOperations.get_object_id(), Serialized Form

Constructor Summary
NoContext()
          Create NoContext with no explaining message and all fields initialised to default values.
NoContext(String why)
          Create the NoContext 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

NoContext

public NoContext()
Create NoContext with no explaining message and all fields initialised to default values.


NoContext

public NoContext(String why)
Create the NoContext with explaining message.

Parameters:
why - a string, explaining, why this exception has been thrown.