public enum DeserializationExceptionHandler extends Enum<DeserializationExceptionHandler>
DeserializationExceptionHandler
types.Enum Constant and Description |
---|
logAndContinue
Deserialization error handler with log and continue.
|
logAndFail
Deserialization error handler with log and fail.
|
sendToDlq
Deserialization error handler with DLQ send.
|
Modifier and Type | Method and Description |
---|---|
static DeserializationExceptionHandler |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeserializationExceptionHandler[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeserializationExceptionHandler logAndContinue
LogAndContinueExceptionHandler
public static final DeserializationExceptionHandler logAndFail
LogAndFailExceptionHandler
public static final DeserializationExceptionHandler sendToDlq
RecoveringDeserializationExceptionHandler
public static DeserializationExceptionHandler[] values()
for (DeserializationExceptionHandler c : DeserializationExceptionHandler.values()) System.out.println(c);
public static DeserializationExceptionHandler valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2020 Pivotal Software, Inc.. All rights reserved.