org.omg.PortableServer.CurrentPackage
Class NoContext
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.omg.CORBA.UserException
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. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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.