Package org.hibernate.engine.jndi
Class JndiException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jakarta.persistence.PersistenceException
org.hibernate.HibernateException
org.hibernate.engine.jndi.JndiException
- All Implemented Interfaces:
Serializable
An exception indicating trouble accessing JNDI
- See Also:
-
Constructor Summary
ConstructorDescriptionJndiException
(String message) Constructs a JndiExceptionJndiException
(String message, Throwable cause) Constructs a JndiException -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
JndiException
Constructs a JndiException- Parameters:
message
- Message explaining the exception conditioncause
- The underlying cause
-
JndiException
Constructs a JndiException- Parameters:
message
- Message explaining the exception condition
-