Beispiel #1
0
        public SunKeyException(string message)
            : base(0, message)
        {
            int code = SunKeyAPI.GetUkeyLastErr();

            SetCode(code);
        }
Beispiel #2
0
        public SunKeyException()
            : base(0, "")
        {
            int code = SunKeyAPI.GetUkeyLastErr();

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