コード例 #1
0
 public CommandChainExecutionException(Exception innerException, CommandRevertException revertException)
     : base(innerException)
 {
     RevertException = revertException;
 }
コード例 #2
0
 public virtual CommandChainExecutionException WithRevertException(CommandRevertException revertException)
 {
     return(new CommandChainExecutionException(InnerException, revertException));
 }
コード例 #3
0
 public override CommandChainExecutionException WithRevertException(CommandRevertException revertException)
 {
     return(new CommandChainExecutionException(InnerException, RevertException.Collapse(revertException)));
 }
コード例 #4
0
 public CommandRevertException Collapse(CommandRevertException revertException)
 {
     return(new CommandRevertException(InnerExceptions.Concat(revertException.InnerExceptions)));
 }