X-Git-Url: http://www.project-moonshot.org/gitweb/?p=gssweb.git;a=blobdiff_plain;f=json_gssapi%2Fsrc%2FGSSException.h;h=308a21c242d7897590858ff9ca1a9accab327e05;hp=551d8759a40288409edd82c88fd27095dcb5bf01;hb=f98b02598095a78b0dac063c2288157d13b6b679;hpb=cedfddc450a8e969ad4e00df11d74cb8f7781f47 diff --git a/json_gssapi/src/GSSException.h b/json_gssapi/src/GSSException.h index 551d875..308a21c 100644 --- a/json_gssapi/src/GSSException.h +++ b/json_gssapi/src/GSSException.h @@ -21,9 +21,13 @@ public: virtual const char* what(void) const throw() { return reason.c_str(); } + // Accessors + OM_uint32 getMajor() { return(major); } + OM_uint32 getMinor() { return(minor); } private: std::string reason; + OM_uint32 major, minor; }; #endif // GSSEXCEPTION_H