Package cz.quanti.mailq.exceptions
Class ApiException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- cz.quanti.mailq.exceptions.ApiException
-
- All Implemented Interfaces:
Serializable
public class ApiException extends Exception
This exception is thrown where API returns HTTP code 4xx or 5xx.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ApiException(Integer httpCode)ApiException(Integer httpCode, Integer code, String message)ApiException(Integer httpCode, String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegergetHttpCode()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-