org.springframework.orm.hibernate
Class HibernateObjectRetrievalFailureException

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
                          extended byorg.springframework.orm.ObjectRetrievalFailureException
                              extended byorg.springframework.orm.hibernate.HibernateObjectRetrievalFailureException
All Implemented Interfaces:
Serializable

public class HibernateObjectRetrievalFailureException
extends ObjectRetrievalFailureException

Hibernate-specific subclass of ObjectRetrievalFailureException. Converts Hibernate's UnresolvableObjectException, ObjectNotFoundException, ObjectDeletedException, and WrongClassException.

Since:
13.10.2003
Author:
Juergen Hoeller
See Also:
SessionFactoryUtils.convertHibernateAccessException(net.sf.hibernate.HibernateException), Serialized Form

Field Summary
 
Fields inherited from class java.lang.RuntimeException
 
Constructor Summary
HibernateObjectRetrievalFailureException(ObjectDeletedException ex)
           
HibernateObjectRetrievalFailureException(ObjectNotFoundException ex)
           
HibernateObjectRetrievalFailureException(UnresolvableObjectException ex)
           
HibernateObjectRetrievalFailureException(WrongClassException ex)
           
 
Methods inherited from class org.springframework.orm.ObjectRetrievalFailureException
getIdentifier, getPersistentClass, getPersistentClassName
 
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

HibernateObjectRetrievalFailureException

public HibernateObjectRetrievalFailureException(UnresolvableObjectException ex)

HibernateObjectRetrievalFailureException

public HibernateObjectRetrievalFailureException(ObjectNotFoundException ex)

HibernateObjectRetrievalFailureException

public HibernateObjectRetrievalFailureException(ObjectDeletedException ex)

HibernateObjectRetrievalFailureException

public HibernateObjectRetrievalFailureException(WrongClassException ex)


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