Class ConstraintViolationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.shibboleth.utilities.java.support.logic.ConstraintViolationException
- All Implemented Interfaces:
Serializable
An exception that represents the violation of a constraint. For example, a method argument not being within the
proper integer range or a return value being null. The astute observer might ask "Why not just use
IllegalArgumentException
?" The short answer is that that exception is really only meant to be thrown when
checking method inputs and we wanted something that could really be used anywhere.- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerial version UID.- See Also:
-
-
Constructor Details
-
ConstraintViolationException
Constructor.- Parameters:
message
- message describing the violated constraint
-