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
public class TenantIdentifierMismatchException extends HibernateException
Indicates that tenant identifiers did not match in cases whereCurrentTenantIdentifierResolver.validateExistingCurrentSessions()
returnstrue
and there is a mismatch found.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TenantIdentifierMismatchException(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 Detail
-
TenantIdentifierMismatchException
public TenantIdentifierMismatchException(String message)
Constructs a TenantIdentifierMismatchException.- Parameters:
message
- Message explaining the exception condition
-
-