public interface ExceptionStrategy
RuntimeException
.Modifier and Type | Method and Description |
---|---|
void |
processException(java.lang.String type,
java.lang.String field,
java.lang.String message,
java.lang.Throwable cause)
Define the strategy to use when the Default object adapter reach a
RuntimeException . |
void processException(java.lang.String type, java.lang.String field, java.lang.String message, java.lang.Throwable cause)
RuntimeException
.type
- the name of the class containing the fieldfield
- the name of the field where the exceptions occurredmessage
- the exception messagecause
- the cause of this exception