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
Exception thrown when an error occurs resolving the tenant.
- Since:
 - 1.0.0
 - Author:
 - Sergio del Amo
 - See Also:
 
- 
Constructor Summary
ConstructorsConstructorDescriptionTenantException(String message) Constructs a new tenant exception with the specified detail message.TenantException(String message, Throwable cause) Constructs a new tenant exception 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
- 
TenantException
Constructs a new tenant exception with the specified detail message.- Parameters:
 message- the detail message.
 - 
TenantException
Constructs a new tenant exception with the specified detail message.- Parameters:
 message- the detail message.cause- the cause
 
 -