Package com.vaadin.flow.signals
Class InvalidSignalValueTypeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
com.vaadin.flow.signals.InvalidSignalValueTypeException
- All Implemented Interfaces:
Serializable
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.2.11
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidSignalValueTypeException(String message) Creates a new exception with the given message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidSignalValueTypeException
Creates a new exception with the given message.- Parameters:
message- a message describing the invalid value, notnull
-