Class TenantAlreadySetException

All Implemented Interfaces:
Serializable

public class TenantAlreadySetException extends RuntimeException
TenantAlreadySetException is a runtime exception which is thrown when another tenant is already assigned to the current thread.
See Also:
  • Constructor Details

    • TenantAlreadySetException

      public TenantAlreadySetException(String message, Exception nestedException)
      Constructs a new tenant already set exception with the specified detail message and cause.
      Parameters:
      message - the detail message which is saved for later retrieval by the Throwable.getMessage() method
      nestedException - the cause of the exception which is saved for later retrieval by the Throwable.getCause() method
    • TenantAlreadySetException

      public TenantAlreadySetException(String message)
      Constructs a new tenant already set exception with the specified detail message.
      Parameters:
      message - the detail message which is saved for later retrieval by the Throwable.getMessage() method.