

Public Member Functions | |
| AcsJContainerEx () | |
| AcsJContainerEx (String message) | |
| AcsJContainerEx (String message, Throwable cause) | |
| AcsJContainerEx (Throwable cause) | |
| AcsJContainerEx (ErrorTrace etCause) | |
| AcsJContainerEx (String message, ErrorTrace etCause) | |
| String | getShortDescription () |
| UserException | toCorbaException () |
| ContainerEx | toContainerEx () |
| void | setContextInfo (String value) |
| String | getContextInfo () |
Static Public Member Functions | |
| static AcsJContainerEx | fromContainerEx (ContainerEx corbaEx) |
Protected Member Functions | |
| final int | getErrorCode () |
Java native style exception class representing the error type alma.ACSErr.ACSErrType.JavaContainerError, error code Container.value.
| alma::JavaContainerError::wrappers::AcsJContainerEx::AcsJContainerEx | ( | ) | [inline] |
Referenced by fromContainerEx().
| alma::JavaContainerError::wrappers::AcsJContainerEx::AcsJContainerEx | ( | String | message | ) | [inline] |
message should be given as parameters instead! | alma::JavaContainerError::wrappers::AcsJContainerEx::AcsJContainerEx | ( | String | message, | |
| Throwable | cause | |||
| ) | [inline] |
message should be given as parameters instead! | alma::JavaContainerError::wrappers::AcsJContainerEx::AcsJContainerEx | ( | Throwable | cause | ) | [inline] |
| alma::JavaContainerError::wrappers::AcsJContainerEx::AcsJContainerEx | ( | ErrorTrace | etCause | ) | [inline] |
| alma::JavaContainerError::wrappers::AcsJContainerEx::AcsJContainerEx | ( | String | message, | |
| ErrorTrace | etCause | |||
| ) | [inline] |
message should be given as parameters instead! | static AcsJContainerEx alma::JavaContainerError::wrappers::AcsJContainerEx::fromContainerEx | ( | ContainerEx | corbaEx | ) | [inline, static] |
Converts a CORBA Container to an instance of this class.
Note that unlike the constructor AcsJErrTest0Ex(ErrorTrace), this static conversion method does not wrap the existing chain of exceptions with a new exception. It simply converts all exceptions found in the ErrorTrace of corbaEx to the corresponding Java exceptions, knowing that the top level exception is of type Container and can always be converted to AcsJContainerEx.
Here's an example of how to use this method in a Java program that makes a call so some other component etc.:
private void methodThatMakesARemoteCall() throws AcsJContainerEx { try { // this fakes the remote call to a method // which can throw an ContainerEx... throw new ContainerEx(); } catch (ContainerEx corbaEx) { throw AcsJContainerEx.fromContainerEx(corbaEx); } }
| corbaEx | the CORBA equivalent of this class; will be converted |
corbaEx. References AcsJContainerEx(), and alma::JavaContainerError::ContainerEx::errorTrace.
| String alma::JavaContainerError::wrappers::AcsJContainerEx::getContextInfo | ( | ) | [inline] |
| final int alma::JavaContainerError::wrappers::AcsJContainerEx::getErrorCode | ( | ) | [inline, protected, virtual] |
Returns the error code, which is fixed to 2, given by Container.value.
Implements alma::acs::exceptions::AcsJException.
| String alma::JavaContainerError::wrappers::AcsJContainerEx::getShortDescription | ( | ) | [inline] |
Returns the short description of the error
Reimplemented from alma::acs::exceptions::AcsJException.
| void alma::JavaContainerError::wrappers::AcsJContainerEx::setContextInfo | ( | String | value | ) | [inline] |
References alma::acs::exceptions::AcsJException::setProperty().
Referenced by alma::acs::container::AcsContainer::AcsContainer(), alma::acs::container::AcsContainer::activate_component(), alma::acs::container::ComponentAdapter::activateComponent(), alma::acs::container::corba::AcsCorba::activateComponent(), alma::acs::container::corba::AcsCorba::activateContainer(), alma::acs::alarmsystem::corbaservice::AlarmSystemCorbaServer::activateOffShoot(), alma::acs::container::corba::AcsCorba::activateOffShoot(), com::cosylab::acs::maci::manager::app::ManagerContainerServices::checkOffShootPOA(), alma::acs::container::AcsEmbeddedContainerRunner::checkReadyToRun(), alma::acs::container::AcsContainer::createComponentHelper(), alma::acs::container::ContainerSealant::createContainerSealant(), alma::acs::container::corba::AcsCorba::createPOAForComponent(), alma::acs::container::ComponentAdapter::deactivateComponent(), alma::acs::alarmsystem::corbaservice::AlarmSystemCorbaServer::deactivateOffShoot(), alma::acs::container::corba::AcsCorba::deactivateOffShoot(), alma::acs::container::AcsManagerProxy::findManager(), alma::acs::container::corba::AcsCorba::getContainerCorbaRef(), alma::acs::container::AcsManagerProxy::getManager(), alma::acs::alarmsystem::corbaservice::AlarmSystemCorbaServer::getPOAForOffshoots(), alma::acs::container::corba::AcsCorba::getPOAForOffshoots(), alma::acs::container::corba::AcsCorba::initCorba(), alma::acs::container::AcsContainer::initialize(), alma::acs::container::corba::AcsCorba::initPOAForComponents(), alma::acs::container::corba::AcsCorba::initPOAForContainer(), alma::acs::container::AcsManagerProxy::loginToManager(), alma::acs::container::AcsContainer::registerWithCorba(), alma::acs::container::AcsEmbeddedContainerRunner::run(), alma::acs::container::corba::AcsCorba::runCorba(), alma::acs::container::AcsContainerRunner::setOptions(), and alma::acs::container::corba::AcsCorba::setServantManagerOnComponentPOA().
| ContainerEx alma::JavaContainerError::wrappers::AcsJContainerEx::toContainerEx | ( | ) | [inline] |
Creates an Container that represents this exception with all its caused-by child exceptions.
Typically to be called from a top-level catch block that must convert any of the Java exceptions used internally by the Java program to an IDL type exception that can be thrown on over CORBA.
org.omg.CORBA.UserException with an embedded ErrorTrace. References alma::acs::exceptions::AcsJException::getErrorTrace().
Referenced by toCorbaException().
| UserException alma::JavaContainerError::wrappers::AcsJContainerEx::toCorbaException | ( | ) | [inline, virtual] |
Implements alma::acs::exceptions::AcsJException.
References toContainerEx().
1.6.2