Package com.arangodb.entity
Class ErrorEntity
- java.lang.Object
-
- com.arangodb.entity.ErrorEntity
-
- All Implemented Interfaces:
Serializable
public final class ErrorEntity extends Object implements Serializable
- Author:
- Mark Vollmary
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ErrorEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCode()
String
getErrorMessage()
int
getErrorNum()
String
getException()
-
-
-
Method Detail
-
getErrorMessage
public String getErrorMessage()
- Returns:
- a descriptive error message
-
getException
public String getException()
- Returns:
- the exception message, passed when transaction fails
-
getCode
public int getCode()
- Returns:
- the status code
-
getErrorNum
public int getErrorNum()
- Returns:
- the server error number
-
-