-
- All Implemented Interfaces:
-
java.io.Serializable
public class ApiException extends Exception
Base exception for all API exceptions. Constructs a new ApiException with specified status code, error and description.
-
-
Constructor Summary
Constructors Constructor Description ApiException(Integer statusCode, String error, String message)
-
Method Summary
Modifier and Type Method Description final IntegergetStatusCode()final StringgetError()StringtoString()-
Methods inherited from class kotlin.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-