Package com.sap.cloud.account
Class TenantAlreadySetException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.sap.cloud.account.TenantAlreadySetException
- All Implemented Interfaces:
Serializable
TenantAlreadySetException is a runtime exception which is thrown when another tenant is already assigned to the
current thread.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTenantAlreadySetException
(String message) Constructs a new tenant already set exception with the specified detail message.TenantAlreadySetException
(String message, Exception nestedException) Constructs a new tenant already set exception with the specified detail message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TenantAlreadySetException
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 theThrowable.getMessage()
methodnestedException
- the cause of the exception which is saved for later retrieval by theThrowable.getCause()
method
-
TenantAlreadySetException
Constructs a new tenant already set exception with the specified detail message.- Parameters:
message
- the detail message which is saved for later retrieval by theThrowable.getMessage()
method.
-