public URISyntaxException(String input, String reason, int index) {super(reason);if (input == null || reason == null) {throw new NullPointerException();}if (index < -1) {throw new IllegalArgumentException();}this.input = input;this.index = index;}
public URISyntaxException(string input, string reason, int index) : base(reason){if (input == null || reason == null){throw new System.ArgumentNullException();}if (index < -1){throw new System.ArgumentException();}this.input = input;this.index = index;}