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.
|
skipAndContinue
Deserialization error handler that silently skips the error and continue.
|
| 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
LogAndContinueExceptionHandlerpublic static final DeserializationExceptionHandler logAndFail
LogAndFailExceptionHandlerpublic static final DeserializationExceptionHandler sendToDlq
RecoveringDeserializationExceptionHandlerpublic static final DeserializationExceptionHandler skipAndContinue
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 © 2021 Pivotal Software, Inc.. All rights reserved.