Class ExceptionHandlerImpl
java.lang.Object
com.sun.corba.ee.impl.presentation.rmi.ExceptionHandlerImpl
- All Implemented Interfaces:
ExceptionHandler
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
class
class
class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ExceptionHandlerImpl.ExceptionRW[]
private static final ORBUtilSystemException
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate int
private int
findDeclaredException
(String repositoryId) getRMIExceptionRW
(Class cls) boolean
isDeclaredException
(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.void
writeException
(OutputStream os, Exception ex) Write the exception ex to os.
-
Field Details
-
wrapper
-
rws
-
-
Constructor Details
-
ExceptionHandlerImpl
-
-
Method Details
-
findDeclaredException
-
findDeclaredException
-
isDeclaredException
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 interfaceExceptionHandler
- Parameters:
cls
- Class to check- Returns:
- If class is a declared exception
-
writeException
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 interfaceExceptionHandler
- Parameters:
os
- Stream to write to.ex
- Exception to write.
-
readException
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 interfaceExceptionHandler
- Parameters:
ae
- Exception to get input stream to read exception from.- Returns:
- Exception from from stream.
-
getRMIExceptionRW
-