com.interface21.orm.hibernate
Class HibernateSystemException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--com.interface21.core.NestedRuntimeException
                          |
                          +--com.interface21.dao.DataAccessException
                                |
                                +--com.interface21.dao.UncategorizedDataAccessException
                                      |
                                      +--com.interface21.orm.hibernate.HibernateSystemException
All Implemented Interfaces:
HasRootCause, java.io.Serializable

public class HibernateSystemException
extends UncategorizedDataAccessException

Hibernate-specific subclass of DataAccessException, for Hibernate system errors that do not match any concrete com.interface21.dao exceptions. Used by HibernateTemplate.

Part of the general strategy to allow for using Hibernate within application service implementations that just feature DataAccessException in their interfaces. Clients of these services do not need to be aware of the particular data access strategy used by the service implementations.

Since:
02.05.2003
Author:
Juergen Hoeller
See Also:
HibernateTemplate, com.interface21.dao, Serialized Form

Constructor Summary
HibernateSystemException(java.lang.String msg, net.sf.hibernate.HibernateException ex)
           
 
Methods inherited from class com.interface21.core.NestedRuntimeException
getMessage, getRootCause, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HibernateSystemException

public HibernateSystemException(java.lang.String msg,
                                net.sf.hibernate.HibernateException ex)


Rod Johnson and Spring contributors 2001-2003.