Class ValueDoesNotMatchTypeException

  • All Implemented Interfaces:
    java.io.Serializable, IIdentifiable

    public class ValueDoesNotMatchTypeException
    extends IvmlException
    An exception which signals that a given value does not match the specified type.
    Author:
    Holger Eichelberger
    See Also:
    Serialized Form
    • Constructor Detail

      • ValueDoesNotMatchTypeException

        public ValueDoesNotMatchTypeException​(java.lang.String message,
                                              int code)
        Creates a new mismatch exception.
        Parameters:
        message - the exception message
        code - a code representing the cause
      • ValueDoesNotMatchTypeException

        public ValueDoesNotMatchTypeException​(java.lang.Object value,
                                              java.lang.String type,
                                              int code)
        Creates a new mismatch exception.
        Parameters:
        value - the value which caused the exception
        type - the type value does not match to
        code - a code representing the cause
      • ValueDoesNotMatchTypeException

        public ValueDoesNotMatchTypeException​(java.lang.String value,
                                              IDatatype type,
                                              int code)
        Creates a new mismatch exception.
        Parameters:
        value - the value which caused the exception
        type - the type value does not match to
        code - a code representing the cause
      • ValueDoesNotMatchTypeException

        public ValueDoesNotMatchTypeException​(java.lang.String valueString,
                                              Value value,
                                              int code)
        Creates a new mismatch exception.
        Parameters:
        valueString - the value which caused the exception
        value - the value object in which caused the problem
        code - a code representing the cause