Package com.clinia.exceptions
Class CliniaResponseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.clinia.exceptions.CliniaRuntimeException
com.clinia.exceptions.CliniaResponseException
- All Implemented Interfaces:
Serializable
Exception thrown in case of API failure such as 4XX, 5XX error.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCliniaResponseException(String message, int httpErrorCode) CliniaResponseException(String message, Throwable cause, int httpErrorCode) CliniaResponseException(Throwable cause, int httpErrorCode) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CliniaResponseException
-
CliniaResponseException
-
CliniaResponseException
-
-
Method Details
-
getHttpErrorCode
public int getHttpErrorCode()
-