[Enterprise Extensions only]

UnknownUserException::exception

Overview Specifies the UserException contained in a CORBA::UnknownUserException.
Original class CORBA::UnknownUserException


Intended Usage

This method is intended to be used by applications that catch a CORBA::UnknownUserException when attempting to invoke a method dynamically using the DII. The exception() method can be used to access the specific UserException that was thrown by the remote request.

IDL Syntax

  CORBA::Any &exception();

Input parameters

None.

Return values

CORBA::Any &
An Any object whose type() indicates the type of the exception that was thrown (some subclass of CORBA::UserException) and whose value() is the exception that was thrown (an instance of some subclass of CORBA::UserException). The UnknownUserException object retains ownership of the returned Any and its contents.