/**@class java.util.regex.PatternSyntaxException @extends java.lang.IllegalArgumentException Unchecked exception thrown to indicate a syntax error in a regular-expression pattern. @author unascribed @since 1.4 @spec JSR-51 */ var PatternSyntaxException = { /**Retrieves the error index. @return {Number} The approximate index in the pattern of the error, or <tt>-1</tt> if the index is not known */ getIndex : function( ) {}, /**Retrieves the description of the error. @return {String} The description of the error */ getDescription : function( ) {}, /**Retrieves the erroneous regular-expression pattern. @return {String} The erroneous pattern */ getPattern : function( ) {}, /**Returns a multi-line string containing the description of the syntax error and its index, the erroneous regular-expression pattern, and a visual indication of the error index within the pattern. @return {String} The full detail message */ getMessage : function( ) {}, };