Class TenantException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.micronaut.multitenancy.exceptions.TenantException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
TenantNotFoundException
public class TenantException extends java.lang.RuntimeExceptionException thrown when an error occurs resolving the tenant.- Since:
- 1.0.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TenantException(java.lang.String message)Constructs a new tenant exception with the specified detail message.TenantException(java.lang.String message, java.lang.Throwable cause)Constructs a new tenant exception with the specified detail message.
-
-
-
Constructor Detail
-
TenantException
public TenantException(java.lang.String message)
Constructs a new tenant exception with the specified detail message.- Parameters:
message- the detail message.
-
TenantException
public TenantException(java.lang.String message, java.lang.Throwable cause)Constructs a new tenant exception with the specified detail message.- Parameters:
message- the detail message.cause- the cause
-
-