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