Package notion.api.v1.exception
Class NotionOAuthAPIError
-
- All Implemented Interfaces:
-
java.io.Serializable
public final class NotionOAuthAPIError extends RuntimeException
-
-
Field Summary
Fields Modifier and Type Field Description private final OAuthError
error
private final NotionHttpResponse
httpResponse
private final String
message
private final Throwable
cause
-
Constructor Summary
Constructors Constructor Description NotionOAuthAPIError(OAuthError error, NotionHttpResponse httpResponse, String message, Throwable cause)
NotionOAuthAPIError(OAuthError error, NotionHttpResponse httpResponse, String message)
NotionOAuthAPIError(OAuthError error, NotionHttpResponse httpResponse)
-
Method Summary
Modifier and Type Method Description final OAuthError
getError()
final NotionHttpResponse
getHttpResponse()
String
getMessage()
Throwable
getCause()
-
Methods inherited from class kotlin.Throwable
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
-
NotionOAuthAPIError
NotionOAuthAPIError(OAuthError error, NotionHttpResponse httpResponse, String message, Throwable cause)
-
NotionOAuthAPIError
NotionOAuthAPIError(OAuthError error, NotionHttpResponse httpResponse, String message)
-
NotionOAuthAPIError
NotionOAuthAPIError(OAuthError error, NotionHttpResponse httpResponse)
-
-
Method Detail
-
getError
final OAuthError getError()
-
getHttpResponse
final NotionHttpResponse getHttpResponse()
-
getMessage
String getMessage()
-
-
-
-