public interface ExceptionListener
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.Modifier and Type | Field and Description |
---|---|
static ExceptionListener |
NO_OP
An exception listener which does nothing.
|
Modifier and Type | Method and Description |
---|---|
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.
|
static final ExceptionListener NO_OP
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 problemCopyright © 2017 JBoss by Red Hat. All rights reserved.