edu.tum.cs.commons.constraint
Class ConstraintViolationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
edu.tum.cs.commons.constraint.ConstraintViolationException
- All Implemented Interfaces:
- java.io.Serializable
public class ConstraintViolationException
- extends java.lang.Exception
Exception to be thrown in case of constraint violations.
- Version:
- $Rev: 26283 $
- Author:
- hummelb, $Author: juergens $
- See Also:
- Serialized Form
- Rating:
- GREEN Hash: B3315A0FB8B06699B4D79370C23C4AD9
Method Summary |
java.lang.Object |
getViolator()
Get object that violated the constraint. |
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 |
ConstraintViolationException
public ConstraintViolationException(java.lang.String message,
java.lang.Object violator)
- Constructor.
ConstraintViolationException
public ConstraintViolationException(java.lang.String message,
java.lang.Object violator,
java.lang.Throwable t)
- Constructor.
getViolator
public java.lang.Object getViolator()
- Get object that violated the constraint.
TUM CCSM Commons - 2.7