XAException.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_transaction_xa_XAException__
  3. #define __javax_transaction_xa_XAException__
  4. #pragma interface
  5. #include <java/lang/Exception.h>
  6. extern "Java"
  7. {
  8. namespace javax
  9. {
  10. namespace transaction
  11. {
  12. namespace xa
  13. {
  14. class XAException;
  15. }
  16. }
  17. }
  18. }
  19. class javax::transaction::xa::XAException : public ::java::lang::Exception
  20. {
  21. public:
  22. XAException();
  23. XAException(::java::lang::String *);
  24. XAException(jint);
  25. jint __attribute__((aligned(__alignof__( ::java::lang::Exception)))) errorCode;
  26. static const jint XA_RBBASE = 100;
  27. static const jint XA_RBROLLBACK = 100;
  28. static const jint XA_RBCOMMFAIL = 101;
  29. static const jint XA_RBDEADLOCK = 102;
  30. static const jint XA_RBINTEGRITY = 103;
  31. static const jint XA_RBOTHER = 104;
  32. static const jint XA_RBPROTO = 105;
  33. static const jint XA_RBTIMEOUT = 106;
  34. static const jint XA_RBTRANSIENT = 107;
  35. static const jint XA_RBEND = 107;
  36. static const jint XA_NOMIGRATE = 9;
  37. static const jint XA_HEURHAZ = 8;
  38. static const jint XA_HEURCOM = 7;
  39. static const jint XA_HEURRB = 6;
  40. static const jint XA_HEURMIX = 5;
  41. static const jint XA_RETRY = 4;
  42. static const jint XA_RDONLY = 3;
  43. static const jint XAER_ASYNC = -2;
  44. static const jint XAER_RMERR = -3;
  45. static const jint XAER_NOTA = -4;
  46. static const jint XAER_INVAL = -5;
  47. static const jint XAER_PROTO = -6;
  48. static const jint XAER_RMFAIL = -7;
  49. static const jint XAER_DUPID = -8;
  50. static const jint XAER_OUTSIDE = -9;
  51. static ::java::lang::Class class$;
  52. };
  53. #endif // __javax_transaction_xa_XAException__