summaryrefslogtreecommitdiff
path: root/libjava/org/ietf/jgss/GSSException.h
blob: b703521dede3b72849661ad611137f8d05f006a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __org_ietf_jgss_GSSException__
#define __org_ietf_jgss_GSSException__

#pragma interface

#include <java/lang/Exception.h>
extern "Java"
{
  namespace org
  {
    namespace ietf
    {
      namespace jgss
      {
          class GSSException;
      }
    }
  }
}

class org::ietf::jgss::GSSException : public ::java::lang::Exception
{

public:
  GSSException(jint);
  GSSException(jint, jint, ::java::lang::String *);
  virtual jint getMajor();
  virtual jint getMinor();
  virtual ::java::lang::String * getMajorString();
  virtual ::java::lang::String * getMinorString();
  virtual void setMinor(jint, ::java::lang::String *);
  virtual ::java::lang::String * toString();
  virtual ::java::lang::String * getMessage();
private:
  ::java::lang::String * getMsg(::java::lang::String *, ::java::lang::String *);
  static const jlong serialVersionUID = -2706218945227726672LL;
public:
  static const jint BAD_BINDINGS = 1;
  static const jint BAD_MECH = 2;
  static const jint BAD_NAME = 3;
  static const jint BAD_NAMETYPE = 4;
  static const jint BAD_STATUS = 5;
  static const jint BAD_MIC = 6;
  static const jint CONTEXT_EXPIRED = 7;
  static const jint CREDENTIALS_EXPIRED = 8;
  static const jint DEFECTIVE_CREDENTIAL = 9;
  static const jint DEFECTIVE_TOKEN = 10;
  static const jint FAILURE = 11;
  static const jint NO_CONTEXT = 12;
  static const jint NO_CRED = 13;
  static const jint BAD_QOP = 14;
  static const jint UNAUTHORIZED = 15;
  static const jint UNAVAILABLE = 16;
  static const jint DUPLICATE_ELEMENT = 17;
  static const jint NAME_NOT_MN = 18;
  static const jint DUPLICATE_TOKEN = 19;
  static const jint OLD_TOKEN = 20;
  static const jint UNSEQ_TOKEN = 21;
  static const jint GAP_TOKEN = 22;
private:
  jint __attribute__((aligned(__alignof__( ::java::lang::Exception)))) major;
  jint minor;
  ::java::lang::String * minorString;
  ::java::util::ResourceBundle * messages;
public:
  static ::java::lang::Class class$;
};

#endif // __org_ietf_jgss_GSSException__