public SunKeyException(string message) : base(0, message) { int code = SunKeyAPI.GetUkeyLastErr(); SetCode(code); }
public SunKeyException() : base(0, "") { int code = SunKeyAPI.GetUkeyLastErr(); SetCode(code); }
public SunKeyException(int code, string message) : base(code, message) { if (code == 0) { code = SunKeyAPI.GetUkeyLastErr(); SetCode(code); } }
public SunKeyException(int code) : base(code, "") { if (code == 0) { code = SunKeyAPI.GetUkeyLastErr(); SetCode(code); } }