|
JBoss Marshalling 1.3.0.CR9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExceptionListener
A listener for exceptions which occur during marshalling or unmarshalling. Not all protocols will support all
methods. These methods are intended for the purpose of interjecting additional debug information into the stack
trace by way of the TraceInformation
class. The appropriate callback will be called in the event of an exception,
at every level of recursion into the marshalling or unmarshalling process.
Field Summary | |
---|---|
static ExceptionListener |
NO_OP
An exception listener which does nothing. |
Method Summary | |
---|---|
void |
handleMarshallingException(Throwable problem,
Object subject)
Handle a problem marshalling the given object. |
void |
handleUnmarshallingException(Throwable problem)
Handle a problem unmarshalling an object whose class cannot be determined. |
void |
handleUnmarshallingException(Throwable problem,
Class<?> subjectClass)
Handle a problem unmarshalling an object of the given class. |
Field Detail |
---|
static final ExceptionListener NO_OP
Method Detail |
---|
void handleMarshallingException(Throwable problem, Object subject)
problem
- the problemsubject
- the object being marshalledvoid handleUnmarshallingException(Throwable problem, Class<?> subjectClass)
problem
- the problemsubjectClass
- the class being marshalledvoid handleUnmarshallingException(Throwable problem)
problem
- the problem
|
JBoss Marshalling 1.3.0.CR9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |