-
- All Implemented Interfaces:
-
java.io.Serializable
public final class NotionAPIError extends RuntimeException
-
-
Field Summary
Fields Modifier and Type Field Description private final Error
error
private final NotionHttpResponse
httpResponse
private final String
message
private final Throwable
cause
-
Constructor Summary
Constructors Constructor Description NotionAPIError(Error error, NotionHttpResponse httpResponse, String message, Throwable cause)
-
Method Summary
Modifier and Type Method Description final Error
getError()
final NotionHttpResponse
getHttpResponse()
String
getMessage()
Throwable
getCause()
-
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()
-
-
-
-