org.apache.commons.contract.constraints
Class ValidationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.commons.i18n.LocalizedException
              extended by org.apache.commons.contract.ContractViolationException
                  extended by org.apache.commons.contract.constraints.ValidationException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CastException

public class ValidationException
extends ContractViolationException

The ValidationException class

See Also:
Serialized Form

Constructor Summary
ValidationException(org.apache.commons.i18n.bundles.ErrorBundle errorMessage)
           
ValidationException(org.apache.commons.i18n.bundles.ErrorBundle errorMessage, Throwable cause)
           
 
Method Summary
 
Methods inherited from class org.apache.commons.i18n.LocalizedException
getErrorMessage
 
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

ValidationException

public ValidationException(org.apache.commons.i18n.bundles.ErrorBundle errorMessage,
                           Throwable cause)

ValidationException

public ValidationException(org.apache.commons.i18n.bundles.ErrorBundle errorMessage)


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.