Search in sources :

Example 21 with RemoteException

use of com.cosylab.acs.maci.RemoteException in project ACS by ACS-Community.

the class ContainerProxy method restart_component.

/**
	 * @see com.cosylab.acs.maci.Container#restart_component(int)
	 */
public Component restart_component(int handle) throws RemoteException {
    try {
        org.omg.CORBA.Object component = container.restart_component(handle);
        final String componentName = "unknown";
        return new ComponentProxy(componentName, component);
    } catch (Exception ex) {
        RemoteException re = new RemoteException("Failed to invoke 'restart_component()' method.", ex);
        throw re;
    }
}
Also used : RemoteException(com.cosylab.acs.maci.RemoteException) TimeoutRemoteException(com.cosylab.acs.maci.TimeoutRemoteException) RemoteException(com.cosylab.acs.maci.RemoteException) IOException(java.io.IOException) TimeoutRemoteException(com.cosylab.acs.maci.TimeoutRemoteException) AcsJException(alma.acs.exceptions.AcsJException)

Aggregations

RemoteException (com.cosylab.acs.maci.RemoteException)21 TimeoutRemoteException (com.cosylab.acs.maci.TimeoutRemoteException)8 ComponentInfo (com.cosylab.acs.maci.ComponentInfo)7 RemoteTransientException (com.cosylab.acs.maci.RemoteTransientException)7 TIMEOUT (org.omg.CORBA.TIMEOUT)7 RemoteTimeoutException (com.cosylab.acs.maci.RemoteTimeoutException)6 IOException (java.io.IOException)6 TRANSIENT (org.omg.CORBA.TRANSIENT)6 AcsJException (alma.acs.exceptions.AcsJException)5 ContainerInfo (com.cosylab.acs.maci.ContainerInfo)4 IntArray (com.cosylab.acs.maci.IntArray)4 BadParametersException (com.cosylab.acs.maci.BadParametersException)3 Container (com.cosylab.acs.maci.Container)3 URI (java.net.URI)3 AcsJNoPermissionEx (alma.maciErrType.wrappers.AcsJNoPermissionEx)2 ClientInfo (com.cosylab.acs.maci.ClientInfo)2 Component (com.cosylab.acs.maci.Component)2 CoreException (com.cosylab.acs.maci.CoreException)2 Manager (com.cosylab.acs.maci.Manager)2 MessageType (com.cosylab.acs.maci.MessageType)2