public class ExceptionHandlerImpl extends Object implements ExceptionHandler
| Modifier and Type | Class and Description |
|---|---|
static interface |
ExceptionHandlerImpl.ExceptionRW |
class |
ExceptionHandlerImpl.ExceptionRWBase |
class |
ExceptionHandlerImpl.ExceptionRWIDLImpl |
class |
ExceptionHandlerImpl.ExceptionRWRMIImpl |
| Constructor and Description |
|---|
ExceptionHandlerImpl(Class[] exceptions) |
| Modifier and Type | Method and Description |
|---|---|
ExceptionHandlerImpl.ExceptionRW |
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.
|
Exception |
readException(ApplicationException ae)
Read the exception contained in the InputStream
in the ApplicationException.
|
void |
writeException(OutputStream os,
Exception ex)
Write the exception ex to os.
|
public ExceptionHandlerImpl(Class[] exceptions)
public boolean isDeclaredException(Class cls)
ExceptionHandlerisDeclaredException in interface ExceptionHandlerpublic void writeException(OutputStream os, Exception ex)
ExceptionHandlerwriteException in interface ExceptionHandlerpublic Exception readException(ApplicationException ae)
ExceptionHandlerreadException in interface ExceptionHandlerpublic ExceptionHandlerImpl.ExceptionRW getRMIExceptionRW(Class cls)
Copyright © 2018 JBoss by Red Hat. All rights reserved.