org.springframework.dao
Class DataRetrievalFailureException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--org.springframework.core.NestedRuntimeException
                          |
                          +--org.springframework.dao.DataAccessException
                                |
                                +--org.springframework.dao.DataRetrievalFailureException
Direct Known Subclasses:
ObjectRetrievalFailureException

public class DataRetrievalFailureException
extends DataAccessException

Exception thrown if certain expected data could not be retrieved, e.g. when looking up specific data via a known identifier. This exception will be thrown either by O/R mapping tools or by DAO implementations.

Author:
Juergen Hoeller
Since: 13.10.2003

Constructor Summary
DataRetrievalFailureException(String msg)
           
DataRetrievalFailureException(String msg, Throwable ex)
           

Methods inherited from class org.springframework.core.NestedRuntimeException
getCause, getMessage, printStackTrace, printStackTrace

Methods inherited from class java.lang.Throwable
printStackTrace, getStackTrace, setStackTrace, getLocalizedMessage, toString, fillInStackTrace, initCause

Methods inherited from class java.lang.Object
hashCode, notify, notifyAll, wait, wait, wait, getClass, equals

Constructor Detail

DataRetrievalFailureException

public DataRetrievalFailureException(String msg)

DataRetrievalFailureException

public DataRetrievalFailureException(String msg, Throwable ex)