Package com.queomedia.commons.exceptions
Class ConstraintViolationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.queomedia.commons.exceptions.ConstraintViolationException
-
- All Implemented Interfaces:
Serializable
public class ConstraintViolationException extends RuntimeException
This exception indicates a constraint violation.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConstraintViolationException()Instantiates a new constraint violation exception.ConstraintViolationException(String message)The Constructor.ConstraintViolationException(String message, Throwable cause)The Constructor.ConstraintViolationException(Throwable cause)The Constructor.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ConstraintViolationException
public ConstraintViolationException()
Instantiates a new constraint violation exception.
-
ConstraintViolationException
public ConstraintViolationException(String message)
The Constructor.- Parameters:
message- the message
-
ConstraintViolationException
public ConstraintViolationException(Throwable cause)
The Constructor.- Parameters:
cause- the cause
-
-