org.riotfamily.riot.dao
Class InvalidPropertyValueException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.springframework.core.NestedRuntimeException
                  extended by org.springframework.dao.DataAccessException
                      extended by org.riotfamily.riot.dao.RiotDaoException
                          extended by org.riotfamily.riot.dao.InvalidPropertyValueException
All Implemented Interfaces:
Serializable, MessageSourceResolvable
Direct Known Subclasses:
DuplicatePathComponentException

public class InvalidPropertyValueException
extends RiotDaoException

Exception that can be thrown by a RiotDao to indicate that a property contains an invalid value. This allows the DAO layer to perform validation checks upon save or update operations.

Since:
6.5
Author:
Carsten Woelk [cwoelk at neteye dot de]
See Also:
Serialized Form

Constructor Summary
InvalidPropertyValueException(String field, String code, Object[] arguments, String msg)
           
InvalidPropertyValueException(String field, String code, Object[] arguments, String msg, Throwable cause)
           
InvalidPropertyValueException(String field, String code, String msg)
           
 
Method Summary
 String getField()
           
 
Methods inherited from class org.riotfamily.riot.dao.RiotDaoException
getArguments, getCode, getCodes, getDefaultMessage
 
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

InvalidPropertyValueException

public InvalidPropertyValueException(String field,
                                     String code,
                                     String msg)

InvalidPropertyValueException

public InvalidPropertyValueException(String field,
                                     String code,
                                     Object[] arguments,
                                     String msg)

InvalidPropertyValueException

public InvalidPropertyValueException(String field,
                                     String code,
                                     Object[] arguments,
                                     String msg,
                                     Throwable cause)
Method Detail

getField

public String getField()