com.geekologue.md4j.business
Class BrokenConstraintsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.geekologue.md4j.business.BrokenConstraintsException
- All Implemented Interfaces:
- java.io.Serializable
public class BrokenConstraintsException
- extends java.lang.RuntimeException
Used to report uniqueness constraint violation.
- Author:
- manos
- See Also:
- Serialized Form
Method Summary |
java.util.Set |
getViolated()
Get the set of property names that where violated |
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 |
BrokenConstraintsException
public BrokenConstraintsException(java.util.Set violations)
BrokenConstraintsException
public BrokenConstraintsException()
BrokenConstraintsException
public BrokenConstraintsException(java.lang.String arg0,
java.lang.Throwable arg1)
- Parameters:
arg0
- arg1
-
BrokenConstraintsException
public BrokenConstraintsException(java.lang.String arg0)
- Parameters:
arg0
-
BrokenConstraintsException
public BrokenConstraintsException(java.lang.Throwable arg0)
- Parameters:
arg0
-
getViolated
public java.util.Set getViolated()
- Get the set of property names that where violated
- Returns:
- the set of property names that where violated
Copyright © 2003-2007 Manos Batsis. All Rights Reserved.