2 * Copyright (c) 2014 <copyright holder> <email>
4 * For license details, see the LICENSE file in the root of this project.
16 class GSSException : public std::exception
19 GSSException(std::string msg, OM_uint32 major = 0, OM_uint32 minor = 0 , gss_OID mech = GSS_C_NO_OID);
20 ~GSSException(void) throw() { }
22 virtual const char* what(void) const throw() { return reason.c_str(); }
29 #endif // GSSEXCEPTION_H