org.springframework.dao
Class DataRetrievalFailureException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.springframework.core.NestedRuntimeException
                  extended byorg.springframework.dao.DataAccessException
                      extended byorg.springframework.dao.DataRetrievalFailureException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
LobRetrievalFailureException, 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.

Since:
13.10.2003
Author:
Juergen Hoeller
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.lang.RuntimeException
 
Constructor Summary
DataRetrievalFailureException(String msg)
          Constructor for DataRetrievalFailureException.
DataRetrievalFailureException(String msg, Throwable ex)
          Constructor for DataRetrievalFailureException.
 
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getCause, getMessage, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DataRetrievalFailureException

public DataRetrievalFailureException(String msg)
Constructor for DataRetrievalFailureException.

Parameters:
msg - message

DataRetrievalFailureException

public DataRetrievalFailureException(String msg,
                                     Throwable ex)
Constructor for DataRetrievalFailureException.

Parameters:
msg - message
ex - root cause from data access API in use


Copyright (C) 2003-2004 The Spring Framework Project.