Class ExceptionHandlerImpl

java.lang.Object
com.sun.corba.se.impl.presentation.rmi.ExceptionHandlerImpl
All Implemented Interfaces:
ExceptionHandler

public class ExceptionHandlerImpl extends Object implements ExceptionHandler
  • Constructor Details

    • ExceptionHandlerImpl

      public ExceptionHandlerImpl(Class[] exceptions)
  • Method Details

    • isDeclaredException

      public boolean isDeclaredException(Class cls)
      Description copied from interface: ExceptionHandler
      Return true iff cls is an exception class that is assignment compatible with an exception declared on the method used to create this ExceptionHandler.
      Specified by:
      isDeclaredException in interface ExceptionHandler
    • writeException

      public void writeException(OutputStream os, Exception ex)
      Description copied from interface: ExceptionHandler
      Write the exception ex to os. ex must be assignment compatible with an exception declared on the method used to create this ExceptionHandler.
      Specified by:
      writeException in interface ExceptionHandler
    • readException

      public Exception readException(ApplicationException ae)
      Description copied from interface: ExceptionHandler
      Read the exception contained in the InputStream in the ApplicationException. If ae represents an exception that is assignment compatible with an exception on the method used to create this exception handler, return the exception, otherwise return an UnexpectedException wrapping the exception in ae.
      Specified by:
      readException in interface ExceptionHandler
    • getRMIExceptionRW

      public ExceptionHandlerImpl.ExceptionRW getRMIExceptionRW(Class cls)