java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.inverno.mod.base.converter.ConverterException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DecoderNotFoundException
,EncoderNotFoundException
Thrown to indicate that a conversion operation failed.
- Since:
- 1.0
- Author:
- Jeremy Kuhn
- See Also:
-
Constructor Summary
ConstructorDescriptionCreates a converter exception.ConverterException
(String message) Creates a converter exception with the specified message.ConverterException
(String message, Throwable cause) Creates a converter exception with the specified message and cause.ConverterException
(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Creates a converter exception with the specified message, cause, suppression enabled or disabled and writable stack trace enabled or disabled.ConverterException
(Throwable cause) Creates a converter 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
-
ConverterException
public ConverterException()Creates a converter exception.
-
ConverterException
Creates a converter exception with the specified message.
- Parameters:
message
- the message
-
ConverterException
Creates a converter exception with the specified cause.
- Parameters:
cause
- the cause
-
ConverterException
Creates a converter exception with the specified message and cause.
- Parameters:
message
- the messagecause
- the cause
-
ConverterException
public ConverterException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Creates a converter 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
-