Exemple #1
0
 public CompilingFailedException(ExpectedError response)
 {
     Response = response;
 }
Exemple #2
0
 /// <summary>
 /// Creates a new instance of <see cref="ExpectedSyncException"/>.
 /// </summary>
 /// <param name="expectedError">The expected error category that occurred.</param>
 /// <param name="innerException">The exception that caused this exception.</param>
 public ExpectedSyncException(ExpectedError expectedError, Exception innerException) : base(
         "An expected exception occurred: " + expectedError.ToString(), innerException)
 {
     this.expectedError = expectedError;
 }
Exemple #3
0
 public CompilingFailedException(string error, HttpStatusCode statusCode)
 {
     Response = new ExpectedError(statusCode, "Compiling Error", error);
 }