Class BadItemTypeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.ametys.runtime.model.exception.BadItemTypeException
-
- All Implemented Interfaces:
Serializable
public class BadItemTypeException extends RuntimeException
Exception thrown when the type of the item value doesn't match the asked type- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BadItemTypeException(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 Detail
-
BadItemTypeException
public BadItemTypeException(String message)
Constructs a new bad item type exception with the specified detail message.- Parameters:
message
- The detail message.
-
BadItemTypeException
public BadItemTypeException(String message, Throwable cause)
Constructs a new bad item type exception with the specified detail message and cause.- Parameters:
message
- The detail message.cause
- The cause.
-
BadItemTypeException
public BadItemTypeException(Throwable cause)
Constructs a new bad item type exception with the specified cause.- Parameters:
cause
- The cause.
-
-