18 using System.Collections.Generic;
20 using System.Runtime.Serialization;
23 namespace RPlugin.Exceptions
49 public RExecutionException(
string message, Exception innerException) : base(message, innerException) { }
56 protected RExecutionException(SerializationInfo info, StreamingContext context) : base(info, context) { }
69 String.Format(
"There was an error in the script ({0}).\nArguments: {1}\nOutput:\n{2}Error:\n{3}",
71 String.Join(
" ", args),
72 (output.EndsWith(Environment.NewLine)) ? output : output + Environment.NewLine,