Package org.hibernate.context
Class TenantIdentifierMismatchException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- javax.persistence.PersistenceException
-
- org.hibernate.HibernateException
-
- org.hibernate.context.TenantIdentifierMismatchException
-
- All Implemented Interfaces:
java.io.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(java.lang.String message)
Constructs a TenantIdentifierMismatchException.TenantIdentifierMismatchException(java.lang.String message, java.lang.Throwable cause)
Constructs a TenantIdentifierMismatchException.
-
-
-
Constructor Detail
-
TenantIdentifierMismatchException
public TenantIdentifierMismatchException(java.lang.String message)
Constructs a TenantIdentifierMismatchException.- Parameters:
message
- Message explaining the exception condition
-
TenantIdentifierMismatchException
public TenantIdentifierMismatchException(java.lang.String message, java.lang.Throwable cause)
Constructs a TenantIdentifierMismatchException.- Parameters:
message
- Message explaining the exception conditioncause
- The underlying cause
-
-