public interface FaultHandler
Modifier and Type | Method and Description |
---|---|
default RuntimeException |
handleFault(String failureMessage)
Handle a fault.
|
RuntimeException |
handleFault(String failureMessage,
Throwable cause)
Handle a fault.
|
default RuntimeException handleFault(String failureMessage)
failureMessage
- The failure message to log.RuntimeException handleFault(String failureMessage, Throwable cause)
failureMessage
- The failure message to log.cause
- The exception that caused the problem, or null.