internal ValidationEventArgs(JsonSchemaException ex) { Class6.yDnXvgqzyB5jw(); base(); ValidationUtils.ArgumentNotNull(ex, "ex"); this._ex = ex; }
public void JsonSchemaException() { JsonSchemaException exception = new JsonSchemaException(); Assert.AreEqual("Exception of type 'Newtonsoft.Json.Schema.JsonSchemaException' was thrown.", exception.Message); exception = new JsonSchemaException("Message!"); Assert.AreEqual("Message!", exception.Message); Assert.AreEqual(null, exception.InnerException); exception = new JsonSchemaException("Message!", new Exception("Inner!")); Assert.AreEqual("Message!", exception.Message); Assert.AreEqual("Inner!", exception.InnerException.Message); }
internal ValidationEventArgs(JsonSchemaException ex) { ValidationUtils.ArgumentNotNull(ex, "ex"); this._ex = ex; }
private void OnValidationEvent(JsonSchemaException exception) { ValidationEventHandler handler = ValidationEventHandler; if (handler != null) handler(this, new ValidationEventArgs(exception)); else throw exception; }
private void OnValidationEvent(JsonSchemaException exception) { ValidationEventHandler validationEventHandler = this.ValidationEventHandler; if (validationEventHandler == null) throw exception; validationEventHandler((object) this, new ValidationEventArgs(exception)); }
internal ValidationEventArgs(JsonSchemaException ex) { ValidationUtils.ArgumentNotNull(ex, "ex"); _ex = ex; }
internal ValidationEventArgs(JsonSchemaException ex) { ValidationUtils.ArgumentNotNull(ex, nameof(ex)); _ex = ex; }
internal ValidationEventArgs(JsonSchemaException ex) { Class203.smethod_2(ex, "ex"); this.jsonSchemaException_0 = ex; }
internal ValidationEventArgs(JsonSchemaException ex) { ValidationUtils.ArgumentNotNull((object) ex, "ex"); this._ex = ex; }