1 16 17 package org.springframework.orm.hibernate3; 18 19 import org.hibernate.UnresolvableObjectException; 20 import org.hibernate.WrongClassException; 21 22 import org.springframework.orm.ObjectRetrievalFailureException; 23 24 32 public class HibernateObjectRetrievalFailureException extends ObjectRetrievalFailureException { 33 34 public HibernateObjectRetrievalFailureException(UnresolvableObjectException ex) { 35 super(ex.getEntityName(), ex.getIdentifier(), ex.getMessage(), ex); 36 } 37 38 public HibernateObjectRetrievalFailureException(WrongClassException ex) { 39 super(ex.getEntityName(), ex.getIdentifier(), ex.getMessage(), ex); 40 } 41 42 } 43 | Popular Tags |