Package org.hibernate
Class UnknownProfileException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- jakarta.persistence.PersistenceException
-
- org.hibernate.HibernateException
-
- org.hibernate.UnknownProfileException
-
- All Implemented Interfaces:
Serializable
public class UnknownProfileException extends HibernateException
Used to indicate a request against an unknown profile name.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnknownProfileException(String name)
Constructs anUnknownProfileException
for the given name.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
The unknown fetch profile name.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
UnknownProfileException
public UnknownProfileException(String name)
Constructs anUnknownProfileException
for the given name.- Parameters:
name
- The profile name that was unknown.
-
-
Method Detail
-
getName
public String getName()
The unknown fetch profile name.- Returns:
- The unknown fetch profile name.
-
-