Package com.hyperwallet.clientsdk
Class HyperwalletException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.hyperwallet.clientsdk.HyperwalletException
-
- All Implemented Interfaces:
Serializable
public class HyperwalletException extends RuntimeException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HyperwalletException(cc.protea.util.http.Response response, int code, String message)HyperwalletException(cc.protea.util.http.Response response, int code, String message, Exception e)HyperwalletException(cc.protea.util.http.Response response, HyperwalletErrorList hyperwalletErrorList)HyperwalletException(Exception e)HyperwalletException(String errorMessage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetErrorCode()StringgetErrorMessage()List<HyperwalletError>getHyperwalletErrors()List<String>getRelatedResources()cc.protea.util.http.ResponsegetResponse()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
HyperwalletException
public HyperwalletException(Exception e)
-
HyperwalletException
public HyperwalletException(cc.protea.util.http.Response response, int code, String message)
-
HyperwalletException
public HyperwalletException(cc.protea.util.http.Response response, int code, String message, Exception e)
-
HyperwalletException
public HyperwalletException(cc.protea.util.http.Response response, HyperwalletErrorList hyperwalletErrorList)
-
HyperwalletException
public HyperwalletException(String errorMessage)
-
-
Method Detail
-
getResponse
public cc.protea.util.http.Response getResponse()
-
getErrorMessage
public String getErrorMessage()
-
getErrorCode
public String getErrorCode()
-
getHyperwalletErrors
public List<HyperwalletError> getHyperwalletErrors()
-
-