Declares ignite::IgniteError class.  
More...
#include <stdint.h>
#include <exception>
#include <sstream>
#include <ignite/common/common.h>
Go to the source code of this file.
 | 
| #define  | IGNITE_ERROR_1(code,  part1) | 
|   | 
| #define  | IGNITE_ERROR_2(code,  part1,  part2) | 
|   | 
| #define  | IGNITE_ERROR_3(code,  part1,  part2,  part3) | 
|   | 
| #define  | IGNITE_ERROR_FORMATTED_1(code,  msg,  key1,  val1) | 
|   | 
| #define  | IGNITE_ERROR_FORMATTED_2(code,  msg,  key1,  val1,  key2,  val2) | 
|   | 
| #define  | IGNITE_ERROR_FORMATTED_3(code,  msg,  key1,  val1,  key2,  val2,  key3,  val3) | 
|   | 
| #define  | IGNITE_ERROR_FORMATTED_4(code,  msg,  key1,  val1,  key2,  val2,  key3,  val3,  key4,  val4) | 
|   | 
 | 
| 
const int  | ignite::java::IGNITE_JNI_ERR_SUCCESS = 0 | 
|   | 
| 
const int  | ignite::java::IGNITE_JNI_ERR_GENERIC = 1 | 
|   | 
| 
const int  | ignite::java::IGNITE_JNI_ERR_JVM_INIT = 2 | 
|   | 
| 
const int  | ignite::java::IGNITE_JNI_ERR_JVM_ATTACH = 3 | 
|   | 
◆ IGNITE_ERROR_1
      
        
          | #define IGNITE_ERROR_1 | 
          ( | 
            | 
          code,  | 
        
        
           | 
           | 
            | 
          part1  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Value:{ \
    std::stringstream stream; \
    stream << (part1); \
}
Ignite error information. 
Definition: ignite_error.h:94
 
 
 
 
◆ IGNITE_ERROR_2
      
        
          | #define IGNITE_ERROR_2 | 
          ( | 
            | 
          code,  | 
        
        
           | 
           | 
            | 
          part1,  | 
        
        
           | 
           | 
            | 
          part2  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Value:{ \
    std::stringstream stream; \
    stream << (part1) << (part2); \
}
Ignite error information. 
Definition: ignite_error.h:94
 
 
 
 
◆ IGNITE_ERROR_3
      
        
          | #define IGNITE_ERROR_3 | 
          ( | 
            | 
          code,  | 
        
        
           | 
           | 
            | 
          part1,  | 
        
        
           | 
           | 
            | 
          part2,  | 
        
        
           | 
           | 
            | 
          part3  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Value:{ \
    std::stringstream stream; \
    stream << (part1) << (part2) << (part3); \
}
Ignite error information. 
Definition: ignite_error.h:94
 
 
 
 
◆ IGNITE_ERROR_FORMATTED_1
      
        
          | #define IGNITE_ERROR_FORMATTED_1 | 
          ( | 
            | 
          code,  | 
        
        
           | 
           | 
            | 
          msg,  | 
        
        
           | 
           | 
            | 
          key1,  | 
        
        
           | 
           | 
            | 
          val1  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Value:{ \
    std::stringstream stream; \
    stream << msg << " [" << key1 << "=" << (val1) << "]"; \
}
Ignite error information. 
Definition: ignite_error.h:94
 
 
 
 
◆ IGNITE_ERROR_FORMATTED_2
      
        
          | #define IGNITE_ERROR_FORMATTED_2 | 
          ( | 
            | 
          code,  | 
        
        
           | 
           | 
            | 
          msg,  | 
        
        
           | 
           | 
            | 
          key1,  | 
        
        
           | 
           | 
            | 
          val1,  | 
        
        
           | 
           | 
            | 
          key2,  | 
        
        
           | 
           | 
            | 
          val2  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Value:{ \
    std::stringstream stream; \
    stream << msg << " [" << key1 << "=" << (val1) << ", " << key2 << "=" << (val2) << "]"; \
}
Ignite error information. 
Definition: ignite_error.h:94
 
 
 
 
◆ IGNITE_ERROR_FORMATTED_3
      
        
          | #define IGNITE_ERROR_FORMATTED_3 | 
          ( | 
            | 
          code,  | 
        
        
           | 
           | 
            | 
          msg,  | 
        
        
           | 
           | 
            | 
          key1,  | 
        
        
           | 
           | 
            | 
          val1,  | 
        
        
           | 
           | 
            | 
          key2,  | 
        
        
           | 
           | 
            | 
          val2,  | 
        
        
           | 
           | 
            | 
          key3,  | 
        
        
           | 
           | 
            | 
          val3  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Value:{ \
    std::stringstream stream; \
    stream << msg << " [" << key1 << "=" << (val1) << ", " << key2 << "=" << (val2) << ", " << key3 << "=" << (val3) << "]"; \
}
Ignite error information. 
Definition: ignite_error.h:94
 
 
 
 
◆ IGNITE_ERROR_FORMATTED_4
      
        
          | #define IGNITE_ERROR_FORMATTED_4 | 
          ( | 
            | 
          code,  | 
        
        
           | 
           | 
            | 
          msg,  | 
        
        
           | 
           | 
            | 
          key1,  | 
        
        
           | 
           | 
            | 
          val1,  | 
        
        
           | 
           | 
            | 
          key2,  | 
        
        
           | 
           | 
            | 
          val2,  | 
        
        
           | 
           | 
            | 
          key3,  | 
        
        
           | 
           | 
            | 
          val3,  | 
        
        
           | 
           | 
            | 
          key4,  | 
        
        
           | 
           | 
            | 
          val4  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Value:{ \
    std::stringstream stream; \
    stream << msg << " [" << key1 << "=" << (val1) << ", " << key2 << "=" << (val2) << ", " << key3 << "=" << (val3) << ", " << key4 << "=" << (val4) << "]"; \
}
Ignite error information. 
Definition: ignite_error.h:94