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)
ExceptionHandler
isDeclaredException
in interface ExceptionHandler
public void writeException(OutputStream os, Exception ex)
ExceptionHandler
writeException
in interface ExceptionHandler
public Exception readException(ApplicationException ae)
ExceptionHandler
readException
in interface ExceptionHandler
public ExceptionHandlerImpl.ExceptionRW getRMIExceptionRW(Class<?> cls)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.