public InvalidPatternException(String message, String pattern) {super(message);this.pattern = pattern;}
public InvalidPatternException(string message, string pattern) : base(message){this.pattern = pattern;}