Package org.hibernate.context
Class TenantIdentifierMismatchException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jakarta.persistence.PersistenceException
org.hibernate.HibernateException
org.hibernate.context.TenantIdentifierMismatchException
- All Implemented Interfaces:
Serializable
Indicates that tenant identifiers did not match in cases where
CurrentTenantIdentifierResolver.validateExistingCurrentSessions()
returns true
and there is a mismatch found.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTenantIdentifierMismatchException
(String message) Constructs a TenantIdentifierMismatchException.TenantIdentifierMismatchException
(String message, Throwable cause) Constructs a TenantIdentifierMismatchException. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TenantIdentifierMismatchException
Constructs a TenantIdentifierMismatchException.- Parameters:
message
- Message explaining the exception condition
-
TenantIdentifierMismatchException
Constructs a TenantIdentifierMismatchException.- Parameters:
message
- Message explaining the exception conditioncause
- The underlying cause
-