Package io.micronaut.serde.exceptions
Class InvalidPropertyFormatException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
io.micronaut.serde.exceptions.SerdeException
io.micronaut.serde.exceptions.InvalidFormatException
io.micronaut.serde.exceptions.InvalidPropertyFormatException
- All Implemented Interfaces:
 Serializable
Extended version of 
InvalidFormatException with information
 about the property that was incorrect.- Since:
 - 1.0.0
 - See Also:
 
- 
Constructor Summary
ConstructorsConstructorDescriptionInvalidPropertyFormatException(@NonNull InvalidFormatException cause, @NonNull io.micronaut.core.type.Argument<?> argument) Construct a more detailed exception from the given cause. - 
Method Summary
Methods inherited from class io.micronaut.serde.exceptions.InvalidFormatException
getCause, getOriginalValue, toConversionErrorMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString 
- 
Constructor Details
- 
InvalidPropertyFormatException
public InvalidPropertyFormatException(@NonNull @NonNull InvalidFormatException cause, @NonNull @NonNull io.micronaut.core.type.Argument<?> argument) Construct a more detailed exception from the given cause.- Parameters:
 cause- The causeargument- The argument
 
 - 
 - 
Method Details
- 
getArgument
@NonNull public @NonNull io.micronaut.core.type.Argument<?> getArgument()- Returns:
 - The property.
 
 
 -