1 package org.wikimedia.search.extra.regex; 2 3 /** 4 * Represents a regex that was invalid. 5 */ 6 public class InvalidRegexException extends RuntimeException { 7 private static final long serialVersionUID = -3150742093136571040L; 8 9 public InvalidRegexException(String s) { 10 super(s); 11 } 12 13 public InvalidRegexException(String s, Throwable e) { 14 super(s, e); 15 } 16 } 17