public interface ValueFaultHandler
Modifier and Type | Interface and Description |
---|---|
static class |
ValueFaultHandler.AttributeFilteredException
Exception used to indicate that an attribute should be skipped
|
Modifier and Type | Field and Description |
---|---|
static ValueFaultHandler |
IGNORING_VALUE_FAULT_HANDLER
Fault handler which returns a simple string representation of the exception
|
static ValueFaultHandler |
THROWING_VALUE_FAULT_HANDLER
Fault handler for simply rethrowing a given exception.
|
Modifier and Type | Method and Description |
---|---|
<T extends Throwable> |
handleException(T exception)
Handle the given exception and return an object
which can be used as a replacement for the real
value
|
static final ValueFaultHandler IGNORING_VALUE_FAULT_HANDLER
static final ValueFaultHandler THROWING_VALUE_FAULT_HANDLER
<T extends Throwable> Object handleException(T exception) throws T extends Throwable
exception
- exception to handleT
- if the handler does not handle the exceptionT extends Throwable
Copyright © 2019. All rights reserved.