Exemplo n.º 1
0
 public MonoTouchException(int code, bool error, Exception innerException, string message, params object[] args) :
     base(String.Format(message, args), innerException)
 {
     Code  = code;
     Error = error || ErrorHelper.GetWarningLevel(code) == ErrorHelper.WarningLevel.Error;
 }
Exemplo n.º 2
0
 void SetValues(int code, bool error)
 {
     Code  = code;
     Error = error || ErrorHelper.GetWarningLevel(code) == ErrorHelper.WarningLevel.Error;
 }