|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception com.aerospike.client.AerospikeException
public class AerospikeException
Aerospike exceptions that can be thrown from the client.
Nested Class Summary | |
---|---|
static class |
AerospikeException.CommandRejected
Exception thrown when asynchronous command was rejected because the max concurrent database commands have been exceeded. |
static class |
AerospikeException.Connection
Exception thrown when client can't connect to the server. |
static class |
AerospikeException.InvalidNode
Exception thrown when chosen node is not active. |
static class |
AerospikeException.Parse
Exception thrown when client can't parse data returned from server. |
static class |
AerospikeException.QueryTerminated
Exception thrown when query was terminated prematurely. |
static class |
AerospikeException.ScanTerminated
Exception thrown when scan was terminated prematurely. |
static class |
AerospikeException.Serialize
Exception thrown when Java serialization error occurs. |
static class |
AerospikeException.Timeout
Exception thrown when database request expires before completing. |
Constructor Summary | |
---|---|
AerospikeException()
|
|
AerospikeException(int resultCode)
|
|
AerospikeException(int resultCode,
Exception e)
|
|
AerospikeException(int resultCode,
String message)
|
|
AerospikeException(String message)
|
|
AerospikeException(String message,
Exception e)
|
|
AerospikeException(Throwable e)
|
Method Summary | |
---|---|
String |
getMessage()
|
int |
getResultCode()
Get integer result code. |
boolean |
keepConnection()
Should connection be put back into pool. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AerospikeException(int resultCode, String message)
public AerospikeException(int resultCode, Exception e)
public AerospikeException(int resultCode)
public AerospikeException(String message, Exception e)
public AerospikeException(String message)
public AerospikeException(Throwable e)
public AerospikeException()
Method Detail |
---|
public String getMessage()
getMessage
in class Throwable
public final boolean keepConnection()
public final int getResultCode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |