Overview | Describes an application-specific exception condition that has occurred. |
File name | usr_excp.h |
Supported methods | UserException::_duplicate |
UserException::_nil | |
UserException::id (inherited from Exception) |
Intended Usage
This class is intended to be caught in the catch clause of a try/catch block that encompasses operation invocations. Typically UserException instances will actually be instances of some application-specific subclass of UserException, or CORBA::UnknownUserException. For each application-specific exception defined in IDL, the C++ bindings define a corresponding subclass of CORBA::UserException, which the interface implementation can throw.
In the Java implementation, org.omg.CORBA.UserException derives from java.lang.Exception.