Overview | Holds an Exception. |
File name | environm.h |
Supported methods | Environment::_duplicate |
Environment::_nil | |
Environment::clear | |
Environment::exception |
Intended Usage
The Environment class holds a single Exception and is used for error handling in those cases where catch/throw exception handling cannot be used. For example, Dynamic Invocation Interface uses an Environment to report errors back to the client. The ORB::create_environment method is called to create an empty Environment. The Environment class provides methods to get and set an Exception, as well as clear an Exception. For additional information, see the Exception and Request class descriptions.