Package de.bild.codec.annotations
Annotation Interface DecodingFieldFailureStrategy
@Documented
@Inherited
@Retention(RUNTIME)
@Target({FIELD,TYPE})
public @interface DecodingFieldFailureStrategy
Use this annotation on pjo fields to define the codec behaviour in case of field decoding errors.
Strategies are:
SET_TO_NULL - ignore exception and set field to null
RETHROW_EXCEPTION - rethrow the exception
SKIP - ignore the exception and leave the field to it's initial value
- Since:
- 2.5.0
-
Nested Class Summary
Nested Classes -
Optional Element Summary
Optional Elements
-
Element Details
-
value
- Default:
- RETHROW_EXCEPTION
-