Esempio n. 1
0
 public static void assertion(bool b, MSError err, string msg)
 {
     if (!b)
     {
         throw new MException(err, "assertion failed: " + msg);
     }
 }
Esempio n. 2
0
 public MSError(MSError type, string title)
 {
     this.type  = type;
     this.title = title;
 }
Esempio n. 3
0
 public MException(MSError err, string s)
 {
     error = err; info = s;
 }
Esempio n. 4
0
 public MException()
 {
     error = null;
 }