public class AerospikeException extends RuntimeException
Modifier and Type | Class and Description |
---|---|
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 and Description |
---|
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) |
Modifier and Type | Method and Description |
---|---|
String |
getMessage() |
int |
getResultCode()
Get integer result code.
|
boolean |
keepConnection()
Should connection be put back into pool.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public AerospikeException(int resultCode, String message)
public AerospikeException(int resultCode, Exception e)
public AerospikeException(int resultCode)
public AerospikeException(String message)
public AerospikeException(Throwable e)
public AerospikeException()
public String getMessage()
getMessage
in class Throwable
public final boolean keepConnection()
public final int getResultCode()
Copyright © 2012–2017 Aerospike, Inc. All rights reserved.