Uses of Class
net.sf.oval.exception.ConstraintsViolatedException

Packages that use ConstraintsViolatedException
net.sf.oval   
net.sf.oval.guard This package contains classes that are relevant for OVal's programming by contract feature. 
net.sf.oval.internal.util This package contains some internally used utility classes. 
 

Uses of ConstraintsViolatedException in net.sf.oval
 

Methods in net.sf.oval that throw ConstraintsViolatedException
 void Validator.assertValid(Object validatedObject)
          validates the field and getter constrains of the given object and throws an ConstraintsViolatedException if any constraint violations are detected
 void IValidator.assertValid(Object validatedObject)
          validates the field and getter constrains of the given object and throws an ConstraintsViolatedException if any constraint violations are detected
 void Validator.assertValidFieldValue(Object validatedObject, Field validatedField, Object fieldValueToValidate)
          Validates the give value against the defined field constraints and throws an ConstraintsViolatedException if any constraint violations are detected.
 void IValidator.assertValidFieldValue(Object validatedObject, Field validatedField, Object fieldValueToValidate)
          Validates the give value against the defined field constraints and throws an ConstraintsViolatedException if any constraint violations are detected.
 

Uses of ConstraintsViolatedException in net.sf.oval.guard
 

Methods in net.sf.oval.guard that return types with arguments of type ConstraintsViolatedException
 List<ConstraintsViolatedException> ConstraintsViolatedAdapter.getConstraintsViolatedExceptions()
           
 

Methods in net.sf.oval.guard with parameters of type ConstraintsViolatedException
protected  void Guard.notifyListeners(Object guardedObject, ConstraintsViolatedException ex)
          notifies all registered validation listener about the occurred constraint violation exception
 void ConstraintsViolatedListener.onConstraintsViolatedException(ConstraintsViolatedException exception)
           
 void ConstraintsViolatedAdapter.onConstraintsViolatedException(ConstraintsViolatedException exception)
          
 

Methods in net.sf.oval.guard that throw ConstraintsViolatedException
 void ProbeModeListener.commit()
          Executes the collected method calls and clears the internal list holding them.
protected  void Guard.guardConstructorPost(Object guardedObject, Constructor<?> ctor, Object[] args)
          This method is provided for use by guard aspects.
protected  void Guard.guardConstructorPre(Object guardedObject, Constructor<?> ctor, Object[] args)
          This method is provided for use by guard aspects.
protected  void Guard.guardMethodPost(Object returnValue, Guard.GuardMethodPreResult preResult)
          Note: Only required until AspectJ allows throwing of checked exceptions, then Guard.guardMethod(Object, Method, Object[], Invocable) can be used instead This method is provided for use by guard aspects.
protected  Guard.GuardMethodPreResult Guard.guardMethodPre(Object guardedObject, Method method, Object[] args)
          Note: Only required until AspectJ allows throwing of checked exceptions, then Guard.guardMethod(Object, Method, Object[], Invocable) can be used instead This method is provided for use by guard aspects.
 

Uses of ConstraintsViolatedException in net.sf.oval.internal.util
 

Methods in net.sf.oval.internal.util that throw ConstraintsViolatedException
 Object MethodInvocationCommand.execute()
           
static
<T> T
ReflectionUtils.invokeMethod(Method method, Object obj, Object... args)
           
 



Copyright © 2005-2013 The OVal Development Team. All Rights Reserved.