Class ConversionException

  • All Implemented Interfaces:
    Serializable

    public class ConversionException
    extends RuntimeException
    This Runtime Exception is thrown when an object is requested to be converted but the conversion cannot be done. For example when the String "test" is to be converted into a Long.
    See Also:
    Serialized Form
    • Constructor Detail

      • ConversionException

        public ConversionException​(String message)
        Create a Conversion Exception with a message.
        Parameters:
        message - The message for this exception.
      • ConversionException

        public ConversionException​(String message,
                                   Throwable cause)
        Create a Conversion Exception with a message and a nested cause.
        Parameters:
        message - The message for this exception.
        cause - The causing exception.