public class ArangoException extends Exception
Modifier and Type | Field and Description |
---|---|
protected BaseEntity |
entity |
Constructor and Description |
---|
ArangoException() |
ArangoException(BaseEntity entity) |
ArangoException(String message) |
ArangoException(String message,
Throwable cause) |
ArangoException(Throwable cause) |
Modifier and Type | Method and Description |
---|---|
int |
getCode() |
BaseEntity |
getEntity() |
String |
getErrorMessage() |
int |
getErrorNumber() |
boolean |
isUnauthorized() |
void |
setCode(int code) |
void |
setErrorNumber(int errorNumber) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
protected final BaseEntity entity
public ArangoException()
public ArangoException(BaseEntity entity)
public ArangoException(String message)
public ArangoException(Throwable cause)
public int getErrorNumber()
public int getCode()
public String getErrorMessage()
public BaseEntity getEntity()
public boolean isUnauthorized()
public void setCode(int code)
public void setErrorNumber(int errorNumber)
Copyright © 2012–2016 ArangoDB GmbH. All rights reserved.