org.springframework.orm.hibernate
Class HibernateObjectRetrievalFailureException

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.springframework.dao.DataRetrievalFailureException
                          extended by org.springframework.orm.ObjectRetrievalFailureException
                              extended by org.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

Constructor Summary
HibernateObjectRetrievalFailureException(net.sf.hibernate.ObjectDeletedException ex)
           
HibernateObjectRetrievalFailureException(net.sf.hibernate.ObjectNotFoundException ex)
           
HibernateObjectRetrievalFailureException(net.sf.hibernate.UnresolvableObjectException ex)
           
HibernateObjectRetrievalFailureException(net.sf.hibernate.WrongClassException ex)
           
 
Method Summary
 
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(net.sf.hibernate.UnresolvableObjectException ex)

HibernateObjectRetrievalFailureException

public HibernateObjectRetrievalFailureException(net.sf.hibernate.ObjectNotFoundException ex)

HibernateObjectRetrievalFailureException

public HibernateObjectRetrievalFailureException(net.sf.hibernate.ObjectDeletedException ex)

HibernateObjectRetrievalFailureException

public HibernateObjectRetrievalFailureException(net.sf.hibernate.WrongClassException ex)


Copyright (c) 2002-2007 The Spring Framework Project.