-
- All Implemented Interfaces:
-
java.io.Serializable
public final class NotionAPIError extends RuntimeException
-
-
Field Summary
Fields Modifier and Type Field Description private final Errorerrorprivate final NotionHttpResponsehttpResponseprivate final Stringmessageprivate final Throwablecause
-
Constructor Summary
Constructors Constructor Description NotionAPIError(Error error, NotionHttpResponse httpResponse, String message, Throwable cause)
-
Method Summary
Modifier and Type Method Description final ErrorgetError()final NotionHttpResponsegetHttpResponse()StringgetMessage()ThrowablegetCause()-
Methods inherited from class java.lang.Exception
addSuppressed, fillInStackTrace, getLocalizedMessage, 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
-
-
Constructor Detail
-
NotionAPIError
NotionAPIError(Error error, NotionHttpResponse httpResponse, String message, Throwable cause)
-
-
Method Detail
-
getHttpResponse
final NotionHttpResponse getHttpResponse()
-
getMessage
String getMessage()
-
-
-
-