Class ExceptionHandlerImpl
java.lang.Object
com.sun.corba.se.impl.presentation.rmi.ExceptionHandlerImpl
- All Implemented Interfaces:
ExceptionHandler
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceclassclassclass -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetRMIExceptionRW(Class cls) booleanisDeclaredException(Class cls) Return true iff cls is an exception class that is assignment compatible with an exception declared on the method used to create this ExceptionHandler.Read the exception contained in the InputStream in the ApplicationException.voidwriteException(OutputStream os, Exception ex) Write the exception ex to os.
-
Constructor Details
-
ExceptionHandlerImpl
-
-
Method Details
-
isDeclaredException
Description copied from interface:ExceptionHandlerReturn 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:
isDeclaredExceptionin interfaceExceptionHandler
-
writeException
Description copied from interface:ExceptionHandlerWrite the exception ex to os. ex must be assignment compatible with an exception declared on the method used to create this ExceptionHandler.- Specified by:
writeExceptionin interfaceExceptionHandler
-
readException
Description copied from interface:ExceptionHandlerRead 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:
readExceptionin interfaceExceptionHandler
-
getRMIExceptionRW
-