public interface ExceptionProvider
ProcessingMessage
The main use of this interface is in processing messages themselves:
ProcessingReport
, for instance, uses a message's ProcessingMessage.asException()
method to throw the exception associated
with that message. The latter method just returns the result of doException(ProcessingMessage)
with this
as an argument.
SimpleExceptionProvider
,
ProcessingMessage
,
ProcessingReport
Modifier and Type | Method and Description |
---|---|
ProcessingException |
doException(ProcessingMessage message)
Return an exception associated with a message
|
ProcessingException doException(ProcessingMessage message)
message
- the message