Class ConversionErrorException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ConversionErrorException
    extends java.lang.RuntimeException
    An exception thrown in the case of a ConversionError.
    Since:
    1.0
    See Also:
    Serialized Form
    • Constructor Detail

      • ConversionErrorException

        public ConversionErrorException​(Argument argument,
                                        ConversionError conversionError)
        Parameters:
        argument - The argument
        conversionError - The conversion error
      • ConversionErrorException

        public ConversionErrorException​(Argument argument,
                                        java.lang.Exception cause)
        Parameters:
        argument - The argument
        cause - The cause
    • Method Detail

      • getArgument

        public Argument getArgument()
        Returns:
        The argument that failed conversion.
      • getConversionError

        public ConversionError getConversionError()
        Returns:
        The conversion error