public class TenantNotFoundException extends RuntimeException implements WithErrorResponse
Constructor and Description |
---|
TenantNotFoundException(String message) |
TenantNotFoundException(String tenantId,
String message) |
TenantNotFoundException(String tenantId,
String message,
Throwable cause) |
TenantNotFoundException(String message,
Throwable cause) |
TenantNotFoundException(Throwable cause) |
Modifier and Type | Method and Description |
---|---|
ResponseWithErrorCode |
getErrorResponse() |
String |
getTenantId() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public TenantNotFoundException(String message)
public TenantNotFoundException(Throwable cause)
public ResponseWithErrorCode getErrorResponse()
getErrorResponse
in interface WithErrorResponse
@Nullable @Generated(value="lombok") public String getTenantId()
Copyright © 2017 SAP SE. All rights reserved.