com.redhat.rhn.common.hibernate
Class HibernateRuntimeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.redhat.rhn.common.RhnRuntimeException
                  extended by com.redhat.rhn.common.hibernate.HibernateRuntimeException
All Implemented Interfaces:
java.io.Serializable

public class HibernateRuntimeException
extends RhnRuntimeException

A RuntimeException version of HibernateException. Hibernate3 switches to RuntimeException

See Also:
Serialized Form

Constructor Summary
HibernateRuntimeException(java.lang.String message)
          Constructor
HibernateRuntimeException(java.lang.String message, java.lang.Throwable cause)
          Constructor
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HibernateRuntimeException

public HibernateRuntimeException(java.lang.String message)
Constructor

Parameters:
message - exception message

HibernateRuntimeException

public HibernateRuntimeException(java.lang.String message,
                                 java.lang.Throwable cause)
Constructor

Parameters:
message - exception message
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)