org.apache.commons.contract.constraints
Class CastException

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
                      extended by org.apache.commons.contract.constraints.CastException
All Implemented Interfaces:
Serializable

public class CastException
extends ValidationException

See Also:
Serialized Form

Constructor Summary
CastException(org.apache.commons.i18n.bundles.ErrorBundle errorMessage)
           
CastException(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

CastException

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

CastException

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


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