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
public class JndiException extends HibernateException
An exception indicating trouble accessing JNDI- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JndiException(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 Detail
-
JndiException
public JndiException(String message, Throwable cause)
Constructs a JndiException- Parameters:
message
- Message explaining the exception conditioncause
- The underlying cause
-
JndiException
public JndiException(String message)
Constructs a JndiException- Parameters:
message
- Message explaining the exception condition
-
-