Class SecurityEventException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.ironcorelabs.tenantsecurity.kms.v1.exception.TenantSecurityException
com.ironcorelabs.tenantsecurity.kms.v1.exception.SecurityEventException
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields inherited from class com.ironcorelabs.tenantsecurity.kms.v1.exception.TenantSecurityException
errorCode, httpResponseCode
-
Constructor Summary
ConstructorDescriptionSecurityEventException
(TenantSecurityErrorCodes errorCode) Create a new KMSException when the request to the API couldn't be made.SecurityEventException
(TenantSecurityErrorCodes errorCode, int httpResponseCode) Create a new KMSException with the provided error code and HTTP status code.SecurityEventException
(TenantSecurityErrorCodes errorCode, int httpResponseCode, String errorMessage) Create a new KMSException with the provided error code and HTTP status code.SecurityEventException
(TenantSecurityErrorCodes errorCode, int httpResponseCode, String errorMessage, Throwable cause) Create a new KMSException with the provided error code and HTTP status code.SecurityEventException
(TenantSecurityErrorCodes errorCode, int httpResponseCode, Throwable cause) Create a new KMSException with the provided error code and HTTP status code.SecurityEventException
(TenantSecurityErrorCodes errorCode, Throwable cause) Create a new KMSException when the request to the API couldn't be made. -
Method Summary
Methods inherited from class com.ironcorelabs.tenantsecurity.kms.v1.exception.TenantSecurityException
getErrorCode, getHttpResponseCode
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SecurityEventException
public SecurityEventException(TenantSecurityErrorCodes errorCode, int httpResponseCode, String errorMessage, Throwable cause) Create a new KMSException with the provided error code and HTTP status code.- Parameters:
errorCode
- TSP generated code corresponding with this error.httpResponseCode
- The HTTP response code returned from the Tenant Security Proxy for this error.errorMessage
- The readable error message returned from the Tenant Security Proxy for this error.cause
- The Throwable that caused this one.
-
SecurityEventException
public SecurityEventException(TenantSecurityErrorCodes errorCode, int httpResponseCode, String errorMessage) Create a new KMSException with the provided error code and HTTP status code.- Parameters:
errorCode
- TSP generated code corresponding with this error.httpResponseCode
- The HTTP response code returned from the Tenant Security Proxy for this error.errorMessage
- The readable error message returned from the Tenant Security Proxy for this error.
-
SecurityEventException
public SecurityEventException(TenantSecurityErrorCodes errorCode, int httpResponseCode, Throwable cause) Create a new KMSException with the provided error code and HTTP status code.- Parameters:
errorCode
- TSP generated code corresponding with this error.httpResponseCode
- The HTTP response code returned from the Tenant Security Proxy for this error.cause
- The Throwable that caused this one.
-
SecurityEventException
Create a new KMSException with the provided error code and HTTP status code.- Parameters:
errorCode
- TSP generated code corresponding with this error.httpResponseCode
- The HTTP response code returned from the Tenant Security Proxy for this error.
-
SecurityEventException
Create a new KMSException when the request to the API couldn't be made.- Parameters:
errorCode
- TSP generated code corresponding with this error.cause
- The Throwable that caused this one.
-
SecurityEventException
Create a new KMSException when the request to the API couldn't be made.- Parameters:
errorCode
- TSP generated code corresponding with this error.
-