Package org.hibernate.cfg
Class RecoverableException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- jakarta.persistence.PersistenceException
-
- org.hibernate.HibernateException
-
- org.hibernate.MappingException
-
- org.hibernate.AnnotationException
-
- org.hibernate.cfg.RecoverableException
-
- All Implemented Interfaces:
Serializable
@Deprecated public class RecoverableException extends AnnotationException
Deprecated.Was only ever referenced in a single place, in an extremely dubious way.An exception that indicates a condition where the hope is that subsequent processing will be able to recover from it.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RecoverableException(String msg)
Deprecated.Constructs a RecoverableException using the given message and underlying cause.RecoverableException(String msg, Throwable cause)
Deprecated.Constructs a RecoverableException using the given message and underlying cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
RecoverableException
public RecoverableException(String msg, Throwable cause)
Deprecated.Constructs a RecoverableException using the given message and underlying cause.- Parameters:
msg
- The message explaining the condition that caused the exceptioncause
- The underlying exception
-
RecoverableException
public RecoverableException(String msg)
Deprecated.Constructs a RecoverableException using the given message and underlying cause.
-
-