org.openorb.orb.test.rmi.exceptions
Interface ExceptionTestRemote

All Superinterfaces:
java.rmi.Remote

public interface ExceptionTestRemote
extends java.rmi.Remote

The Remote interface for the exception test case.

Author:
Stefan Reich

Method Summary
 void throwBadParam()
          Throws a BAD_PARAM exception.
 void throwCommFailure()
          Throws a COMM_FAILURE exception.
 void throwError()
          Throws an Error.
 void throwInvalidTransaction()
          Throws an INVALID_TRANSACTION exception.
 void throwInvObjRef()
          Throws an INV_OBJ_REF exception.
 void throwMarshal()
          Throws a MARSHAL exception.
 void throwNoPermission()
          Throws a NO_PERMISSION exception.
 void throwNPE()
          Throws a NullPointerException.
 void throwObjNotExist()
          Throws a OBJ_NOT_EXISTS exception.
 void throwRuntimeException()
          Throws a RuntimeException.
 void throwTaRequired()
          Throws a TRANSACTION_REQUIRED exception.
 void throwTaRolledBack()
          Throws a TRANSACTION_ROLLEDBACK exception.
 void throwThrowable()
          Throws a Throwable.
 

Method Detail

throwCommFailure

void throwCommFailure()
                      throws java.rmi.RemoteException
Throws a COMM_FAILURE exception.

Throws:
java.rmi.RemoteException - When an error occurs.

throwInvObjRef

void throwInvObjRef()
                    throws java.rmi.RemoteException
Throws an INV_OBJ_REF exception.

Throws:
java.rmi.RemoteException - When an error occurs.

throwNoPermission

void throwNoPermission()
                       throws java.rmi.RemoteException
Throws a NO_PERMISSION exception.

Throws:
java.rmi.RemoteException - When an error occurs.

throwMarshal

void throwMarshal()
                  throws java.rmi.RemoteException
Throws a MARSHAL exception.

Throws:
java.rmi.RemoteException - When an error occurs.

throwBadParam

void throwBadParam()
                   throws java.rmi.RemoteException
Throws a BAD_PARAM exception.

Throws:
java.rmi.RemoteException - When an error occurs.

throwObjNotExist

void throwObjNotExist()
                      throws java.rmi.RemoteException
Throws a OBJ_NOT_EXISTS exception.

Throws:
java.rmi.RemoteException - When an error occurs.

throwTaRequired

void throwTaRequired()
                     throws java.rmi.RemoteException
Throws a TRANSACTION_REQUIRED exception.

Throws:
java.rmi.RemoteException - When an error occurs.

throwTaRolledBack

void throwTaRolledBack()
                       throws java.rmi.RemoteException
Throws a TRANSACTION_ROLLEDBACK exception.

Throws:
java.rmi.RemoteException - When an error occurs.

throwInvalidTransaction

void throwInvalidTransaction()
                             throws java.rmi.RemoteException
Throws an INVALID_TRANSACTION exception.

Throws:
java.rmi.RemoteException - When an error occurs.

throwThrowable

void throwThrowable()
                    throws java.rmi.RemoteException
Throws a Throwable.

Throws:
java.rmi.RemoteException - When an error occurs.

throwNPE

void throwNPE()
              throws java.rmi.RemoteException
Throws a NullPointerException.

Throws:
java.rmi.RemoteException - When an error occurs.

throwRuntimeException

void throwRuntimeException()
                           throws java.rmi.RemoteException
Throws a RuntimeException.

Throws:
java.rmi.RemoteException - When an error occurs.

throwError

void throwError()
                throws java.rmi.RemoteException
Throws an Error.

Throws:
java.rmi.RemoteException - When an error occurs.