public OCGException PopFirstError() { OCGException retVal = exceptionList.First(e => e.Level == ExceptionLevel.Error); exceptionList.Remove(retVal); return(retVal); }
public OCGException PopFirstInformation() { OCGException retVal = exceptionList.First(e => e.Level == ExceptionLevel.Information); exceptionList.Remove(retVal); return(retVal); }
public OCGException PopFirstWarning() { OCGException retVal = exceptionList.First(e => e.Level == ExceptionLevel.Warning); exceptionList.Remove(retVal); return(retVal); }
public void AddException(OCGException ex) { exceptionList.Insert(0, ex); }