Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Handle()

void System.AggregateException.Handle ( Func< Exception, bool > predicate)
inline

Definition at line 151 of file AggregateException.cs.

152 {
153 if (predicate == null)
154 {
155 throw new ArgumentNullException("predicate");
156 }
157 List<Exception> list = null;
158 for (int i = 0; i < _innerExceptions.Length; i++)
159 {
161 {
162 if (list == null)
163 {
164 list = new List<Exception>();
165 }
166 list.Add(_innerExceptions[i]);
167 }
168 }
169 if (list != null)
170 {
171 throw new AggregateException(Message, list.ToArray(), cloneExceptions: false);
172 }
173 }
readonly Exception[] _innerExceptions

References System.AggregateException.AggregateException(), System.AggregateException._innerExceptions, System.Runtime.Serialization.Dictionary, System.list, and System.AggregateException.Message.