java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.inverno.mod.base.converter.ConverterException
io.inverno.mod.base.converter.EncoderNotFoundException
- All Implemented Interfaces:
Serializable
Thrown by a CompositeEncoder
to indicate that no encoder can encode a
given type.
- Since:
- 1.0
- Author:
- Jeremy Kuhn
- See Also:
-
Constructor Summary
ConstructorDescriptionCreates an encoder not found exception.EncoderNotFoundException
(String message) Creates an encoder not found exception with the specified message.EncoderNotFoundException
(String message, Throwable cause) Creates an encoder not found exception with the specified message and cause.EncoderNotFoundException
(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Creates an encoder not found exception with the specified message, cause, suppression enabled or disabled and writable stack trace enabled or disabled.Creates an encoder not found exception with the specified cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
EncoderNotFoundException
public EncoderNotFoundException()Creates an encoder not found exception.
-
EncoderNotFoundException
Creates an encoder not found exception with the specified message.
- Parameters:
message
- the message
-
EncoderNotFoundException
Creates an encoder not found exception with the specified cause.
- Parameters:
cause
- the cause
-
EncoderNotFoundException
Creates an encoder not found exception with the specified message and cause.
- Parameters:
message
- the messagecause
- the cause
-
EncoderNotFoundException
public EncoderNotFoundException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Creates an encoder not found exception with the specified message, cause, suppression enabled or disabled and writable stack trace enabled or disabled.
- Parameters:
message
- the messagecause
- the causeenableSuppression
- true to enable suppression, false otherwisewritableStackTrace
- true to make the stack trace writable, false otherwise
-