Esempio n. 1
0
 public static void ensure(bool cond, ChabuErrorCode error, String fmt, params object[] args)
 {
     if (cond)
     {
         return;
     }
     throw new ChabuException(error, String.Format(fmt, args));
 }
Esempio n. 2
0
 public void delayedAbort(ChabuErrorCode ec, string message, params object[] args)
 {
     delayedAbort(ec, message, args);
 }
Esempio n. 3
0
 public virtual void setPending(ChabuErrorCode code, String message)
 {
     setPending((int)code, message);
 }
Esempio n. 4
0
 public ChabuException(ChabuErrorCode error, int remoteCode, String message)
     : base(message)
 {
     this.code       = (int)error;
     this.remoteCode = remoteCode;
 }