コード例 #1
0
 public LogicException(string message, LogicError error, Exception inner)
     : base(message, inner)
 {
     this.Errors = new LogicErrors {
         error
     };
 }
コード例 #2
0
 public LogicException(LogicErrors errors)
     : this(errors.GetCombinedMessages(), errors)
 {
 }
コード例 #3
0
 public LogicException(string message, LogicErrors errors)
     : base(message)
 {
     this.Errors = errors;
 }
コード例 #4
0
 protected LogicException(SerializationInfo info, StreamingContext context)
     : base(info, context)
 {
     this.Errors = new LogicErrors();
 }