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:
- Serializable
public class ConstraintViolationException
- extends 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
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ConstraintViolationException
public ConstraintViolationException(String message,
Object violator)
- Constructor.
ConstraintViolationException
public ConstraintViolationException(String message,
Object violator,
Throwable t)
- Constructor.
getViolator
public Object getViolator()
- Get object that violated the constraint.
TUM CCSM Commons - 2.7