Class TenantException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.micronaut.multitenancy.exceptions.TenantException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
TenantNotFoundException

public class TenantException extends RuntimeException
Exception thrown when an error occurs resolving the tenant.
Since:
1.0.0
Author:
Sergio del Amo
See Also:
  • Constructor Details

    • TenantException

      public TenantException(String message)
      Constructs a new tenant exception with the specified detail message.
      Parameters:
      message - the detail message.
    • TenantException

      public TenantException(String message, Throwable cause)
      Constructs a new tenant exception with the specified detail message.
      Parameters:
      message - the detail message.
      cause - the cause