Package com.arangodb
Class ArangoDBException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.arangodb.ArangoDBException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ArangoDBRedirectException
,ArangoDBUnavailableException
- Author:
- Mark Vollmary
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionArangoDBException
(ErrorEntity errorEntity) ArangoDBException
(String message) ArangoDBException
(String message, Integer responseCode) ArangoDBException
(String message, Throwable cause) Deprecated.ArangoDBException
(Throwable cause) Deprecated.useof(java.lang.Throwable)
insteadArangoDBException
(Throwable cause, long requestId) Deprecated.useof(Throwable, Long)
instead -
Method Summary
Modifier and TypeMethodDescriptionstatic ArangoDBException
static ArangoDBException
static ArangoDBException
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ArangoDBException
-
ArangoDBException
-
ArangoDBException
-
ArangoDBException
Deprecated.useof(java.lang.Throwable)
instead -
ArangoDBException
Deprecated.useof(String, Throwable)
instead -
ArangoDBException
Deprecated.useof(Throwable, Long)
instead
-
-
Method Details
-
of
-
of
-
of
-
getErrorMessage
- Returns:
- ArangoDB error message
-
getException
- Returns:
- ArangoDB exception
-
getResponseCode
- Returns:
- HTTP response code
-
getErrorNum
- Returns:
- ArangoDB error number
-
getRequestId
- Returns:
- request id
-
of(String, Throwable)
instead