Package com.c8db
Class C8DBException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.c8db.C8DBException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
C8DBRedirectException
public class C8DBException extends RuntimeException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description C8DBException(ErrorEntity errorEntity)C8DBException(String message)C8DBException(String message, Integer responseCode)C8DBException(String message, Throwable cause)C8DBException(Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetErrorMessage()IntegergetErrorNum()StringgetException()IntegergetResponseCode()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
C8DBException
public C8DBException(ErrorEntity errorEntity)
-
C8DBException
public C8DBException(String message)
-
C8DBException
public C8DBException(Throwable cause)
-
-
Method Detail
-
getErrorMessage
public String getErrorMessage()
- Returns:
- ArangoDB error message
-
getException
public String getException()
- Returns:
- ArangoDB exception
-
getResponseCode
public Integer getResponseCode()
- Returns:
- HTTP response code
-
getErrorNum
public Integer getErrorNum()
- Returns:
- ArangoDB error number
-
-