Class InvalidSignalValueTypeException

All Implemented Interfaces:
Serializable

public class InvalidSignalValueTypeException extends IllegalArgumentException
Thrown when a value is written to a signal that cannot hold a value of that type. This can happen when the value type has been erased from the generic signature of the code that writes the value, which means that the value type cannot be enforced by the compiler.
Since:
25.3
See Also:
  • Constructor Details

    • InvalidSignalValueTypeException

      public InvalidSignalValueTypeException(String message)
      Creates a new exception with the given message.
      Parameters:
      message - a message describing the invalid value, not null