

Public Member Functions | |
| AcsJNoPermissionEx () | |
| AcsJNoPermissionEx (String message) | |
| AcsJNoPermissionEx (String message, Throwable cause) | |
| AcsJNoPermissionEx (Throwable cause) | |
| AcsJNoPermissionEx (ErrorTrace etCause) | |
| AcsJNoPermissionEx (String message, ErrorTrace etCause) | |
| String | getShortDescription () |
| UserException | toCorbaException () |
| NoPermissionEx | toNoPermissionEx () |
| void | setID (String value) |
| String | getID () |
| void | setProtectedResource (String value) |
| String | getProtectedResource () |
| void | setReason (String value) |
| String | getReason () |
Static Public Member Functions | |
| static AcsJNoPermissionEx | fromNoPermissionEx (NoPermissionEx corbaEx) |
Protected Member Functions | |
| final int | getErrorCode () |
Java native style exception class representing the error type alma.ACSErr.ACSErrType.maciErrType, error code NoPermission.value.
| alma::maciErrType::wrappers::AcsJNoPermissionEx::AcsJNoPermissionEx | ( | ) | [inline] |
Referenced by fromNoPermissionEx().
| alma::maciErrType::wrappers::AcsJNoPermissionEx::AcsJNoPermissionEx | ( | String | message | ) | [inline] |
message should be given as parameters instead! | alma::maciErrType::wrappers::AcsJNoPermissionEx::AcsJNoPermissionEx | ( | String | message, | |
| Throwable | cause | |||
| ) | [inline] |
message should be given as parameters instead! | alma::maciErrType::wrappers::AcsJNoPermissionEx::AcsJNoPermissionEx | ( | Throwable | cause | ) | [inline] |
| alma::maciErrType::wrappers::AcsJNoPermissionEx::AcsJNoPermissionEx | ( | ErrorTrace | etCause | ) | [inline] |
| alma::maciErrType::wrappers::AcsJNoPermissionEx::AcsJNoPermissionEx | ( | String | message, | |
| ErrorTrace | etCause | |||
| ) | [inline] |
message should be given as parameters instead! | static AcsJNoPermissionEx alma::maciErrType::wrappers::AcsJNoPermissionEx::fromNoPermissionEx | ( | NoPermissionEx | corbaEx | ) | [inline, static] |
Converts a CORBA NoPermission 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 NoPermission and can always be converted to AcsJNoPermissionEx.
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 AcsJNoPermissionEx { try { // this fakes the remote call to a method // which can throw an NoPermissionEx... throw new NoPermissionEx(); } catch (NoPermissionEx corbaEx) { throw AcsJNoPermissionEx.fromNoPermissionEx(corbaEx); } }
| corbaEx | the CORBA equivalent of this class; will be converted |
corbaEx. References AcsJNoPermissionEx(), and alma::maciErrType::NoPermissionEx::errorTrace.
| final int alma::maciErrType::wrappers::AcsJNoPermissionEx::getErrorCode | ( | ) | [inline, protected, virtual] |
Returns the error code, which is fixed to 16, given by NoPermission.value.
Implements alma::acs::exceptions::AcsJException.
| String alma::maciErrType::wrappers::AcsJNoPermissionEx::getID | ( | ) | [inline] |
| String alma::maciErrType::wrappers::AcsJNoPermissionEx::getProtectedResource | ( | ) | [inline] |
| String alma::maciErrType::wrappers::AcsJNoPermissionEx::getReason | ( | ) | [inline] |
References alma::acs::exceptions::AcsJException::getProperty().
Referenced by com::cosylab::acs::maci::plug::ManagerProxyImpl::logout().
| String alma::maciErrType::wrappers::AcsJNoPermissionEx::getShortDescription | ( | ) | [inline] |
Returns the short description of the error
Reimplemented from alma::acs::exceptions::AcsJException.
| void alma::maciErrType::wrappers::AcsJNoPermissionEx::setID | ( | String | value | ) | [inline] |
References alma::acs::exceptions::AcsJException::setProperty().
Referenced by alma::acs::container::AcsManagerProxy::checkAndGetManagerHandle(), com::cosylab::acs::maci::manager::ManagerImpl::containerInternalStateMerge(), com::cosylab::acs::maci::manager::ManagerImpl::containerLogin(), com::cosylab::acs::maci::plug::ManagerProxy::getComponent(), com::cosylab::acs::maci::plug::ManagerProxy::getComponentInfo(), com::cosylab::acs::maci::manager::ManagerImpl::internalNoSyncReleaseComponent(), com::cosylab::acs::maci::manager::ManagerImpl::internalNoSyncRestartComponent(), com::cosylab::acs::maci::manager::ManagerImpl::login(), com::cosylab::acs::maci::plug::ManagerProxyImpl::logout(), com::cosylab::acs::maci::manager::ManagerImpl::registerComponent(), com::cosylab::acs::maci::manager::ManagerImpl::securityCheck(), and com::cosylab::acs::maci::manager::ManagerImpl::shutdown().
| void alma::maciErrType::wrappers::AcsJNoPermissionEx::setProtectedResource | ( | String | value | ) | [inline] |
References alma::acs::exceptions::AcsJException::setProperty().
Referenced by com::cosylab::acs::maci::manager::ManagerImpl::containerInternalStateMerge(), com::cosylab::acs::maci::manager::ManagerImpl::containerLogin(), com::cosylab::acs::maci::plug::ManagerProxy::getComponent(), com::cosylab::acs::maci::manager::ManagerImpl::internalNoSyncReleaseComponent(), com::cosylab::acs::maci::manager::ManagerImpl::internalNoSyncRestartComponent(), and com::cosylab::acs::maci::manager::ManagerImpl::registerComponent().
| void alma::maciErrType::wrappers::AcsJNoPermissionEx::setReason | ( | String | value | ) | [inline] |
References alma::acs::exceptions::AcsJException::setProperty().
Referenced by alma::acs::container::AcsManagerProxy::checkAndGetManagerHandle(), com::cosylab::acs::maci::manager::ManagerImpl::containerInternalStateMerge(), com::cosylab::acs::maci::manager::ManagerImpl::containerLogin(), com::cosylab::acs::maci::plug::ManagerProxy::getComponent(), com::cosylab::acs::maci::plug::ManagerProxy::getComponentInfo(), com::cosylab::acs::maci::manager::ManagerImpl::internalNoSyncReleaseComponent(), com::cosylab::acs::maci::manager::ManagerImpl::internalNoSyncRestartComponent(), com::cosylab::acs::maci::manager::ManagerImpl::login(), com::cosylab::acs::maci::plug::ManagerProxyImpl::logout(), com::cosylab::acs::maci::manager::ManagerImpl::registerComponent(), com::cosylab::acs::maci::manager::ManagerImpl::securityCheck(), and com::cosylab::acs::maci::manager::ManagerImpl::shutdown().
| UserException alma::maciErrType::wrappers::AcsJNoPermissionEx::toCorbaException | ( | ) | [inline, virtual] |
Implements alma::acs::exceptions::AcsJException.
References toNoPermissionEx().
| NoPermissionEx alma::maciErrType::wrappers::AcsJNoPermissionEx::toNoPermissionEx | ( | ) | [inline] |
Creates an NoPermission 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 com::cosylab::acs::maci::plug::ManagerProxyImpl::force_release_component(), com::cosylab::acs::maci::plug::ManagerProxyImpl::get_client_info(), com::cosylab::acs::maci::plug::ManagerProxyImpl::get_collocated_component(), com::cosylab::acs::maci::plug::ManagerProxyImpl::get_component(), com::cosylab::acs::maci::plug::ManagerProxyImpl::get_component_info(), com::cosylab::acs::maci::plug::ManagerProxyImpl::get_component_non_sticky(), com::cosylab::acs::maci::plug::ManagerProxyImpl::get_container_info(), com::cosylab::acs::maci::plug::ManagerProxyImpl::get_default_component(), com::cosylab::acs::maci::plug::ManagerProxyImpl::get_dynamic_component(), com::cosylab::acs::maci::plug::ManagerProxyImpl::get_service(), com::cosylab::acs::maci::plug::ManagerProxyImpl::login(), com::cosylab::acs::maci::plug::ManagerProxyImpl::logout(), com::cosylab::acs::maci::plug::ManagerProxyImpl::make_component_immortal(), com::cosylab::acs::maci::plug::ManagerProxyImpl::register_component(), com::cosylab::acs::maci::plug::ManagerProxyImpl::restart_component(), com::cosylab::acs::maci::plug::ManagerProxyImpl::shutdown_container(), toCorbaException(), and com::cosylab::acs::maci::plug::ManagerProxyImpl::unregister_component().
1.6.2