org.riotfamily.riot.dao
Class RiotDaoException

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
All Implemented Interfaces:
Serializable, MessageSourceResolvable
Direct Known Subclasses:
InvalidPropertyValueException

public class RiotDaoException
extends DataAccessException
implements MessageSourceResolvable

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

Constructor Summary
RiotDaoException(String code, Object[] arguments, String msg)
           
RiotDaoException(String code, Object[] arguments, String msg, Throwable cause)
           
RiotDaoException(String code, String msg)
           
 
Method Summary
 Object[] getArguments()
           
 String getCode()
           
 String[] getCodes()
           
 String 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

RiotDaoException

public RiotDaoException(String code,
                        String msg)

RiotDaoException

public RiotDaoException(String code,
                        Object[] arguments,
                        String msg)

RiotDaoException

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

getArguments

public Object[] getArguments()
Specified by:
getArguments in interface MessageSourceResolvable

getCode

public String getCode()

getCodes

public String[] getCodes()
Specified by:
getCodes in interface MessageSourceResolvable

getDefaultMessage

public String getDefaultMessage()
Specified by:
getDefaultMessage in interface MessageSourceResolvable