Class TenantNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.micronaut.multitenancy.exceptions.TenantException
io.micronaut.multitenancy.exceptions.TenantNotFoundException
- All Implemented Interfaces:
Serializable
Thrown when the tenant cannot be found.
- Since:
- 1.0.0
- Author:
- Sergio del Amo
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructs a new Tenant Not Found exception.TenantNotFoundException
(String message) Constructs a new Tenant Not Found with the specified detail message.TenantNotFoundException
(String message, Throwable cause) Constructs a new Tenant Not Found with the specified detail message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TenantNotFoundException
public TenantNotFoundException()Constructs a new Tenant Not Found exception. -
TenantNotFoundException
Constructs a new Tenant Not Found with the specified detail message.- Parameters:
message
- the detail message.
-
TenantNotFoundException
Constructs a new Tenant Not Found with the specified detail message.- Parameters:
message
- the detail message.cause
- the cause
-