com.geekologue.md4j.business
Class BrokenConstraintsException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by 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

Constructor Summary
BrokenConstraintsException()
           
BrokenConstraintsException(java.util.Set violations)
           
BrokenConstraintsException(java.lang.String arg0)
           
BrokenConstraintsException(java.lang.String arg0, java.lang.Throwable arg1)
           
BrokenConstraintsException(java.lang.Throwable arg0)
           
 
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
 

Constructor Detail

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 -
Method Detail

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.