Class BadItemTypeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.ametys.runtime.model.exception.BadItemTypeException
- All Implemented Interfaces:
Serializable
Exception thrown when the type of the item value doesn't match the asked type
- See Also:
-
Constructor Summary
ConstructorDescriptionBadItemTypeException
(String message) Constructs a new bad item type exception with the specified detail message.BadItemTypeException
(String message, Throwable cause) Constructs a new bad item type exception with the specified detail message and cause.BadItemTypeException
(Throwable cause) Constructs a new bad item type exception with the specified cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BadItemTypeException
Constructs a new bad item type exception with the specified detail message.- Parameters:
message
- The detail message.
-
BadItemTypeException
Constructs a new bad item type exception with the specified detail message and cause.- Parameters:
message
- The detail message.cause
- The cause.
-
BadItemTypeException
Constructs a new bad item type exception with the specified cause.- Parameters:
cause
- The cause.
-