73 lines
2.0 KiB
C++
73 lines
2.0 KiB
C++
|
|
// 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__
|