

Public Member Functions | |
| AcsJContainerServicesEx () | |
| AcsJContainerServicesEx (String message) | |
| AcsJContainerServicesEx (String message, Throwable cause) | |
| AcsJContainerServicesEx (Throwable cause) | |
| AcsJContainerServicesEx (ErrorTrace etCause) | |
| AcsJContainerServicesEx (String message, ErrorTrace etCause) | |
| String | getShortDescription () |
| UserException | toCorbaException () |
| ContainerServicesEx | toContainerServicesEx () |
| void | setContextInfo (String value) |
| String | getContextInfo () |
Static Public Member Functions | |
| static AcsJContainerServicesEx | fromContainerServicesEx (ContainerServicesEx corbaEx) |
Protected Member Functions | |
| final int | getErrorCode () |
Java native style exception class representing the error type alma.ACSErr.ACSErrType.JavaContainerError, error code ContainerServices.value.
| alma::JavaContainerError::wrappers::AcsJContainerServicesEx::AcsJContainerServicesEx | ( | ) | [inline] |
Referenced by fromContainerServicesEx().
| alma::JavaContainerError::wrappers::AcsJContainerServicesEx::AcsJContainerServicesEx | ( | String | message | ) | [inline] |
message should be given as parameters instead! | alma::JavaContainerError::wrappers::AcsJContainerServicesEx::AcsJContainerServicesEx | ( | String | message, | |
| Throwable | cause | |||
| ) | [inline] |
message should be given as parameters instead! | alma::JavaContainerError::wrappers::AcsJContainerServicesEx::AcsJContainerServicesEx | ( | Throwable | cause | ) | [inline] |
| alma::JavaContainerError::wrappers::AcsJContainerServicesEx::AcsJContainerServicesEx | ( | ErrorTrace | etCause | ) | [inline] |
| alma::JavaContainerError::wrappers::AcsJContainerServicesEx::AcsJContainerServicesEx | ( | String | message, | |
| ErrorTrace | etCause | |||
| ) | [inline] |
message should be given as parameters instead! | static AcsJContainerServicesEx alma::JavaContainerError::wrappers::AcsJContainerServicesEx::fromContainerServicesEx | ( | ContainerServicesEx | corbaEx | ) | [inline, static] |
Converts a CORBA ContainerServices 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 ContainerServices and can always be converted to AcsJContainerServicesEx.
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 AcsJContainerServicesEx { try { // this fakes the remote call to a method // which can throw an ContainerServicesEx... throw new ContainerServicesEx(); } catch (ContainerServicesEx corbaEx) { throw AcsJContainerServicesEx.fromContainerServicesEx(corbaEx); } }
| corbaEx | the CORBA equivalent of this class; will be converted |
corbaEx. References AcsJContainerServicesEx(), and alma::JavaContainerError::ContainerServicesEx::errorTrace.
| String alma::JavaContainerError::wrappers::AcsJContainerServicesEx::getContextInfo | ( | ) | [inline] |
| final int alma::JavaContainerError::wrappers::AcsJContainerServicesEx::getErrorCode | ( | ) | [inline, protected, virtual] |
Returns the error code, which is fixed to 0, given by ContainerServices.value.
Implements alma::acs::exceptions::AcsJException.
| String alma::JavaContainerError::wrappers::AcsJContainerServicesEx::getShortDescription | ( | ) | [inline] |
Returns the short description of the error
Reimplemented from alma::acs::exceptions::AcsJException.
| void alma::JavaContainerError::wrappers::AcsJContainerServicesEx::setContextInfo | ( | String | value | ) | [inline] |
References alma::acs::exceptions::AcsJException::setProperty().
Referenced by alma::acs::container::ContainerServicesImpl::assignUniqueEntityId(), com::cosylab::acs::maci::manager::app::ManagerContainerServices::checkOffShootServant(), alma::acs::container::ContainerServicesImpl::checkOffShootServant(), alma::acs::alarmsystem::corbaservice::AlarmSystemCorbaServer::checkOffShootServant(), com::cosylab::acs::maci::manager::app::ManagerContainerServices::deactivateOffShoot(), alma::acs::component::client::AdvancedComponentClient::destroyContainerServices(), alma::acs::container::ContainerServicesImpl::findComponents(), alma::acs::container::ContainerServicesImpl::getCDB(), alma::alarmsystem::corbaservice::AlarmSystemContainerServices::getCDB(), alma::acs::container::ContainerServicesImpl::getCollocatedComponent(), alma::acs::container::ContainerServicesImpl::getComponent(), alma::acs::container::ContainerServicesImpl::getComponentDescriptor(), alma::acs::container::ContainerServicesImpl::getComponentNonSticky(), alma::acs::container::ContainerServicesImpl::getDefaultComponent(), alma::acs::container::ContainerServicesImpl::getDynamicComponent(), alma::acs::component::client::ComponentClientTestCase::getLogReceiver(), alma::acs::container::ContainerServicesImpl::getTransparentXmlComponent(), alma::acs::container::corba::AcsCorba::setORBLevelRoundtripTimeout(), and alma::acs::container::corba::AcsCorba::wrapForRoundtripTimeout().
| ContainerServicesEx alma::JavaContainerError::wrappers::AcsJContainerServicesEx::toContainerServicesEx | ( | ) | [inline] |
Creates an ContainerServices 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::AcsJContainerServicesEx::toCorbaException | ( | ) | [inline, virtual] |
Implements alma::acs::exceptions::AcsJException.
References toContainerServicesEx().
1.6.2