Class ValueDoesNotMatchTypeException

java.lang.Object
java.lang.Throwable
java.lang.Exception
net.ssehub.easy.varModel.model.IvmlException
net.ssehub.easy.varModel.model.values.ValueDoesNotMatchTypeException
All Implemented Interfaces:
Serializable, net.ssehub.easy.basics.messages.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:
  • Field Details

  • Constructor Details

    • ValueDoesNotMatchTypeException

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

      public ValueDoesNotMatchTypeException(Object value, 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(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(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