![]() |
Apache Ignite C++
|
Ignite error information. More...
#include <ignite_error.h>
Public Member Functions | |
| IgniteError () | |
| Create empty error. | |
| IgniteError (const int32_t code) | |
| Create error with specific code. More... | |
| IgniteError (const int32_t code, const char *msg) | |
| Create error with specific code and message. More... | |
| IgniteError (const IgniteError &other) | |
| Copy constructor. More... | |
| IgniteError & | operator= (const IgniteError &other) |
| Assignment operator. More... | |
| ~IgniteError () | |
| Destructor. | |
| int32_t | GetCode () const |
| Get error code. More... | |
| const char * | GetText () const |
| Get error message. More... | |
Static Public Member Functions | |
| static void | ThrowIfNeeded (IgniteError &err) |
| Throw an error if code is not IGNITE_SUCCESS. More... | |
| static void | SetError (const int jniCode, const char *jniCls, const char *jniMsg, IgniteError *err) |
| Set error. More... | |
Static Public Attributes | |
| static const int | IGNITE_SUCCESS = 0 |
| Success. More... | |
| static const int | IGNITE_ERR_JVM_INIT = 1 |
| Failed to initialize JVM. More... | |
| static const int | IGNITE_ERR_JVM_ATTACH = 2 |
| Failed to attach to JVM. More... | |
| static const int | IGNITE_ERR_JVM_LIB_NOT_FOUND = 3 |
| JVM library is not found. More... | |
| static const int | IGNITE_ERR_JVM_LIB_LOAD_FAILED = 4 |
| Failed to load JVM library. More... | |
| static const int | IGNITE_ERR_JVM_NO_CLASSPATH = 5 |
| JVM classpath is not provided. More... | |
| static const int | IGNITE_ERR_JVM_NO_CLASS_DEF_FOUND = 6 |
| JVM error: no class definition found. More... | |
| static const int | IGNITE_ERR_JVM_NO_SUCH_METHOD = 7 |
| JVM error: no such method. More... | |
| static const int | IGNITE_ERR_MEMORY = 1001 |
| Memory operation error. More... | |
| static const int | IGNITE_ERR_BINARY = 1002 |
| Binary error. More... | |
| static const int | IGNITE_ERR_GENERIC = 2000 |
| Generic Ignite error. More... | |
| static const int | IGNITE_ERR_ILLEGAL_ARGUMENT = 2001 |
| Illegal argument passed. More... | |
| static const int | IGNITE_ERR_ILLEGAL_STATE = 2002 |
| Illegal state. More... | |
| static const int | IGNITE_ERR_UNSUPPORTED_OPERATION = 2003 |
| Unsupported operation. More... | |
| static const int | IGNITE_ERR_INTERRUPTED = 2004 |
| Thread has been interrup. More... | |
| static const int | IGNITE_ERR_CLUSTER_GROUP_EMPTY = 2005 |
| Cluster group is empty. More... | |
| static const int | IGNITE_ERR_CLUSTER_TOPOLOGY = 2006 |
| Cluster topology problem. More... | |
| static const int | IGNITE_ERR_COMPUTE_EXECUTION_REJECTED = 2007 |
| Compute execution rejected. More... | |
| static const int | IGNITE_ERR_COMPUTE_JOB_FAILOVER = 2008 |
| Compute job failover. More... | |
| static const int | IGNITE_ERR_COMPUTE_TASK_CANCELLED = 2009 |
| Compute task cancelled. More... | |
| static const int | IGNITE_ERR_COMPUTE_TASK_TIMEOUT = 2010 |
| Compute task timeout. More... | |
| static const int | IGNITE_ERR_COMPUTE_USER_UNDECLARED_EXCEPTION = 2011 |
| Compute user undeclared exception. More... | |
| static const int | IGNITE_ERR_CACHE = 2012 |
| Generic cache error. More... | |
| static const int | IGNITE_ERR_CACHE_LOADER = 2013 |
| Generic cache loader error. More... | |
| static const int | IGNITE_ERR_CACHE_WRITER = 2014 |
| Generic cache writer error. More... | |
| static const int | IGNITE_ERR_ENTRY_PROCESSOR = 2015 |
| Generic cache entry processor error. More... | |
| static const int | IGNITE_ERR_CACHE_ATOMIC_UPDATE_TIMEOUT = 2016 |
| Cache atomic update timeout. More... | |
| static const int | IGNITE_ERR_CACHE_PARTIAL_UPDATE = 2017 |
| Cache partial update. More... | |
| static const int | IGNITE_ERR_TX_OPTIMISTIC = 2018 |
| Transaction optimisitc exception. More... | |
| static const int | IGNITE_ERR_TX_TIMEOUT = 2019 |
| Transaction timeout. More... | |
| static const int | IGNITE_ERR_TX_ROLLBACK = 2020 |
| Transaction rollback. More... | |
| static const int | IGNITE_ERR_TX_HEURISTIC = 2021 |
| Transaction heuristic exception. More... | |
| static const int | IGNITE_ERR_AUTHENTICATION = 2022 |
| Authentication error. More... | |
| static const int | IGNITE_ERR_SECURITY = 2023 |
| Security error. More... | |
| static const int | IGNITE_ERR_UNKNOWN = -1 |
| Unknown error. More... | |
Ignite error information.
| ignite::IgniteError::IgniteError | ( | const int32_t | code | ) |
Create error with specific code.
| code | Error code. |
| ignite::IgniteError::IgniteError | ( | const int32_t | code, |
| const char * | msg | ||
| ) |
Create error with specific code and message.
| code | Error code. |
| msg | Message. |
| ignite::IgniteError::IgniteError | ( | const IgniteError & | other | ) |
Copy constructor.
| other | Other instance. |
| int32_t ignite::IgniteError::GetCode | ( | ) | const |
Get error code.
| const char * ignite::IgniteError::GetText | ( | ) | const |
Get error message.
| IgniteError & ignite::IgniteError::operator= | ( | const IgniteError & | other | ) |
Assignment operator.
| other | Other instance. |
|
static |
Set error.
| jniCode | Error code. |
| jniCls | Error class. |
| jniMsg | Error message. |
| err | Error. |
|
static |
Throw an error if code is not IGNITE_SUCCESS.
| err | Error. |
|
static |
Authentication error.
|
static |
Binary error.
|
static |
Generic cache error.
|
static |
Cache atomic update timeout.
|
static |
Generic cache loader error.
|
static |
Cache partial update.
|
static |
Generic cache writer error.
|
static |
Cluster group is empty.
|
static |
Cluster topology problem.
|
static |
Compute execution rejected.
|
static |
Compute job failover.
|
static |
Compute task cancelled.
|
static |
Compute task timeout.
|
static |
Compute user undeclared exception.
|
static |
Generic cache entry processor error.
|
static |
Generic Ignite error.
|
static |
Illegal argument passed.
|
static |
Illegal state.
|
static |
Thread has been interrup.
|
static |
Failed to attach to JVM.
|
static |
Failed to initialize JVM.
|
static |
Failed to load JVM library.
|
static |
JVM library is not found.
|
static |
JVM error: no class definition found.
|
static |
JVM classpath is not provided.
|
static |
JVM error: no such method.
|
static |
Memory operation error.
|
static |
Security error.
|
static |
Transaction heuristic exception.
|
static |
Transaction optimisitc exception.
|
static |
Transaction rollback.
|
static |
Transaction timeout.
|
static |
Unknown error.
|
static |
Unsupported operation.
|
static |
Success.
1.8.9.1