|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.tensegrity.generic.util.StaticException
com.tensegrity.generic.constraint.ConstraintViolationException
This exception is thrown if an Attribute or an
AttributeCollection is associated with Constraint
which has determined a validation failure.
| Constructor Summary | |
ConstraintViolationException(java.lang.String message)
Deprecated. Please use ConstraintViolationException(String, Constraint),
so the user is able to retrieve the corresponding constraint. |
|
ConstraintViolationException(java.lang.String message,
Constraint constraint)
Constructor specifying a description. |
|
| Method Summary | |
Constraint |
getConstraint()
Returns the constraint that has risen the exception. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ConstraintViolationException(java.lang.String message)
ConstraintViolationException(String, Constraint),
so the user is able to retrieve the corresponding constraint.
message - a detailed message for the exception.
public ConstraintViolationException(java.lang.String message,
Constraint constraint)
message - a detailed message for the exception.constraint - the constraint that has risen the exception| Method Detail |
public Constraint getConstraint()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||