GSSException.h 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __org_ietf_jgss_GSSException__
  3. #define __org_ietf_jgss_GSSException__
  4. #pragma interface
  5. #include <java/lang/Exception.h>
  6. extern "Java"
  7. {
  8. namespace org
  9. {
  10. namespace ietf
  11. {
  12. namespace jgss
  13. {
  14. class GSSException;
  15. }
  16. }
  17. }
  18. }
  19. class org::ietf::jgss::GSSException : public ::java::lang::Exception
  20. {
  21. public:
  22. GSSException(jint);
  23. GSSException(jint, jint, ::java::lang::String *);
  24. virtual jint getMajor();
  25. virtual jint getMinor();
  26. virtual ::java::lang::String * getMajorString();
  27. virtual ::java::lang::String * getMinorString();
  28. virtual void setMinor(jint, ::java::lang::String *);
  29. virtual ::java::lang::String * toString();
  30. virtual ::java::lang::String * getMessage();
  31. private:
  32. ::java::lang::String * getMsg(::java::lang::String *, ::java::lang::String *);
  33. static const jlong serialVersionUID = -2706218945227726672LL;
  34. public:
  35. static const jint BAD_BINDINGS = 1;
  36. static const jint BAD_MECH = 2;
  37. static const jint BAD_NAME = 3;
  38. static const jint BAD_NAMETYPE = 4;
  39. static const jint BAD_STATUS = 5;
  40. static const jint BAD_MIC = 6;
  41. static const jint CONTEXT_EXPIRED = 7;
  42. static const jint CREDENTIALS_EXPIRED = 8;
  43. static const jint DEFECTIVE_CREDENTIAL = 9;
  44. static const jint DEFECTIVE_TOKEN = 10;
  45. static const jint FAILURE = 11;
  46. static const jint NO_CONTEXT = 12;
  47. static const jint NO_CRED = 13;
  48. static const jint BAD_QOP = 14;
  49. static const jint UNAUTHORIZED = 15;
  50. static const jint UNAVAILABLE = 16;
  51. static const jint DUPLICATE_ELEMENT = 17;
  52. static const jint NAME_NOT_MN = 18;
  53. static const jint DUPLICATE_TOKEN = 19;
  54. static const jint OLD_TOKEN = 20;
  55. static const jint UNSEQ_TOKEN = 21;
  56. static const jint GAP_TOKEN = 22;
  57. private:
  58. jint __attribute__((aligned(__alignof__( ::java::lang::Exception)))) major;
  59. jint minor;
  60. ::java::lang::String * minorString;
  61. ::java::util::ResourceBundle * messages;
  62. public:
  63. static ::java::lang::Class class$;
  64. };
  65. #endif // __org_ietf_jgss_GSSException__