public class ConversionException
extends java.lang.RuntimeException
RequestConverter
and
ResponseConverter
implementations to indicate that a failure has occurred
during conversion.RequestConverter.convert(Object)
,
ResponseConverter.convert(Object)
,
Serialized FormConstructor and Description |
---|
ConversionException(java.lang.String message,
java.lang.Throwable cause)
Creates a new
ConversionException with the given message and
cause . |
ConversionException(java.lang.Throwable cause)
Creates a new
ConversionException with the given cause . |
public ConversionException(java.lang.Throwable cause)
ConversionException
with the given cause
.cause
- the causepublic ConversionException(java.lang.String message, java.lang.Throwable cause)
ConversionException
with the given message
and
cause
.message
- the messagecause
- the cause