[Enterprise Extensions only]

ServerRequest::exception

Overview Stores an exception in a ServerRequest.
Original class CORBA::ServerRequest
Exceptions CORBA::SystemException


Intended Usage

This method is intended to be called from an implementation of CORBA::BOA::DynamicImplementation::invoke (in a subclass of BOA::DynamicImplementation) when an exception has been thrown by the operation being dispatched by the CORBA::BOA::DynamicImplementation ::invoke method. This method can be called at most once by an execution of CORBA::BOA::DynamicImplementation::invoke, and only after CORBA::ServerRequest::params has been called. ServerRequest::exception may not be called if CORBA::ServerRequest::result has already been called. The ServerRequest object assumes ownership of the input Any object.

IDL Syntax

  void exception (CORBA::Any *value)
       throw (CORBA::SystemException);

Input parameters

value
A CORBA::Any containing the exception to be stored in the ServerRequest. This exception is sent back to the client that originated the request. The ServerRequest assumes ownership of this Any.

Return values

None.