org.omg.PortableServer.CurrentPackage

Class NoContext

public final class NoContext extends UserException implements IDLEntity, Serializable

This exception may be thrown by methods in {@link org.omg.PortableServer.CurrentOperations} if they are invoked outside the context of a POA-dispatched operation.

See Also: get_POA

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.

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.