Package org.xipki.ca.sdk
Class SdkErrorResponseException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.xipki.ca.sdk.SdkErrorResponseException
-
- All Implemented Interfaces:
Serializable
public class SdkErrorResponseException extends Exception
Exception wraps the error response.- Author:
- Lijun Liao (xipki)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SdkErrorResponseException(ErrorResponse errorResponse)SdkErrorResponseException(org.xipki.pki.ErrorCode errorCode, String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ErrorResponsegetErrorResponse()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
SdkErrorResponseException
public SdkErrorResponseException(org.xipki.pki.ErrorCode errorCode, String message)
-
SdkErrorResponseException
public SdkErrorResponseException(ErrorResponse errorResponse)
-
-
Method Detail
-
getErrorResponse
public ErrorResponse getErrorResponse()
-
-