Changeset 9444 for branches/HivePerformance/sources/HeuristicLab.Core/3.3
- Timestamp:
- 05/06/13 12:30:18 (11 years ago)
- Location:
- branches/HivePerformance/sources
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HivePerformance/sources
- Property svn:mergeinfo changed
/trunk/sources (added) merged: 9376,9379,9388,9390,9396,9402-9410,9413,9417,9426-9429,9432-9433,9435-9439,9441-9443
- Property svn:mergeinfo changed
-
branches/HivePerformance/sources/HeuristicLab.Core/3.3/OperatorExecutionException.cs
r9339 r9444 25 25 namespace HeuristicLab.Core { 26 26 public class OperatorExecutionException : Exception { 27 private IOperator op;27 private readonly IOperator op; 28 28 public IOperator Operator { 29 29 get { return op; } 30 30 } 31 32 private readonly string message; 31 33 public override string Message { 32 34 get { … … 38 40 } 39 41 if (InnerException == null) 40 return base.Message + name + ".";42 return base.Message + name + message + "."; 41 43 else 42 44 return base.Message + name + ": " + InnerException.Message; … … 44 46 } 45 47 46 public OperatorExecutionException(IOperator op) 48 public OperatorExecutionException(IOperator op) : this(op, string.Empty) { } 49 public OperatorExecutionException(IOperator op, string message) 47 50 : base("An exception was thrown by the operator ") { 48 51 if (op == null) throw new ArgumentNullException(); 49 52 this.op = op; 53 this.message = message; 50 54 } 51 55 public OperatorExecutionException(IOperator op, Exception innerException)
Note: See TracChangeset
for help on using the changeset viewer.