public final class ProcessTerminatingFaultHandler extends Object implements FaultHandler
Modifier and Type | Class and Description |
---|---|
static class |
ProcessTerminatingFaultHandler.Builder |
Modifier and Type | Method and Description |
---|---|
RuntimeException |
handleFault(String failureMessage,
Throwable cause)
Handle a fault.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handleFault
public RuntimeException handleFault(String failureMessage, Throwable cause)
FaultHandler
handleFault
in interface FaultHandler
failureMessage
- The failure message to log.cause
- The exception that caused the problem, or null.