ServerRequest::set_exception

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


Intended Usage

This method is 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 once by an execution of CORBA::BOA::DynamicImplementation::invoke, and only after CORBA::ServerRequest::params has been called. ServerRequest::set_exception might not be called if CORBA::ServerRequest::result has already been called. The ServerRequest object assumes ownership of the input Any object.

Syntax

  void set_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.


Related reference
CORBA module



Searchable topic ID:   rcor_modsr4
Last updated: Jun 21, 2007 8:07:48 PM CDT    WebSphere Business Integration Server Foundation, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.wasee.doc/info/ee/corba/ref/rcor_modsr4.html

Library | Support | Terms of Use | Feedback