Class NotUniqueTypeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.ametys.runtime.model.exception.NotUniqueTypeException
-
- All Implemented Interfaces:
Serializable
public class NotUniqueTypeException extends RuntimeException
Exception thrown when many types are compatibles with an item- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NotUniqueTypeException(String message)
Constructs a new not unique type exception with the specified detail message.NotUniqueTypeException(String message, Throwable cause)
Constructs a new not unique type exception with the specified detail message and cause.NotUniqueTypeException(Throwable cause)
Constructs a new not unique 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
-
NotUniqueTypeException
public NotUniqueTypeException(String message)
Constructs a new not unique type exception with the specified detail message.- Parameters:
message
- The detail message.
-
NotUniqueTypeException
public NotUniqueTypeException(String message, Throwable cause)
Constructs a new not unique type exception with the specified detail message and cause.- Parameters:
message
- The detail message.cause
- The cause.
-
NotUniqueTypeException
public NotUniqueTypeException(Throwable cause)
Constructs a new not unique type exception with the specified cause.- Parameters:
cause
- The cause.
-
-