public interface ExceptionHandler
Modifier and Type | Method and Description |
---|---|
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.
|
boolean isDeclaredException(Class cls)
void writeException(OutputStream os, Exception ex)
Exception readException(ApplicationException ae)
Copyright © 2019 JBoss by Red Hat. All rights reserved.