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 InvalidFormatException
getCause, getOriginalValue, toConversionErrorMethods inherited from class SerdeException
getPath, getPathAsStringMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidPropertyFormatException
public InvalidPropertyFormatException(@NonNull InvalidFormatException cause, @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
public @NonNull io.micronaut.core.type.Argument<?> getArgument()- Returns:
- The property.
-