Searched refs:PatternSyntaxException (Results 1 – 21 of 21) sorted by relevance
22 import java.util.regex.PatternSyntaxException;31 PatternSyntaxException e = new PatternSyntaxException("Foo", "Bar", 0); in testPatternSyntaxException()43 e = new PatternSyntaxException(null, "Bar", 0); in testPatternSyntaxException()55 e = new PatternSyntaxException("Foo", null, 0); in testPatternSyntaxException()66 e = new PatternSyntaxException(null, null, 0); in testPatternSyntaxException()77 e = new PatternSyntaxException("Foo", "Bar", -1); in testPatternSyntaxException()85 e = new PatternSyntaxException("Foo", null, 0); in testPatternSyntaxException()97 } catch (PatternSyntaxException e) { in testCase()108 } catch (PatternSyntaxException e) { in testCase2()116 ObjectStreamClass objectStreamClass = ObjectStreamClass.lookup(PatternSyntaxException.class); in test_objectStreamField()[all …]
21 import java.util.regex.PatternSyntaxException;31 public void testUnicodeCategories() throws PatternSyntaxException { in testUnicodeCategories()131 public void testCapturingGroups() throws PatternSyntaxException { in testCapturingGroups()179 } catch (PatternSyntaxException pse) { in testCapturingGroups()252 public void testAnchors() throws PatternSyntaxException { in testAnchors()
23 import java.util.regex.PatternSyntaxException;292 } catch (PatternSyntaxException pse) { in testCompile_WrongPatternsFail()548 } catch (PatternSyntaxException e) { in testCompileStringInt()556 } catch (PatternSyntaxException e) { in testCompileStringInt()564 } catch (PatternSyntaxException e) { in testCompileStringInt()573 } catch (PatternSyntaxException e) { in testCompileStringInt()601 } catch (PatternSyntaxException pse) { in testQuantCompileNeg()666 } catch (PatternSyntaxException pse) { in testMatchesException()726 } catch (PatternSyntaxException pse) { in testRangesSpecialCases()779 } catch (PatternSyntaxException pse) { in testOrphanQuantifiers()[all …]
28 import java.util.regex.PatternSyntaxException;68 throw new PatternSyntaxException("No character to escape", in toRegexPattern()115 throw new PatternSyntaxException("Explicit 'name separator' in class", in toRegexPattern()128 throw new PatternSyntaxException("Invalid range", in toRegexPattern()135 throw new PatternSyntaxException("Invalid range", in toRegexPattern()146 throw new PatternSyntaxException("Missing ']", globPattern, i - 1); in toRegexPattern()152 throw new PatternSyntaxException("Cannot nest groups", in toRegexPattern()204 throw new PatternSyntaxException("Missing '}", globPattern, i - 1); in toRegexPattern()
21 import java.util.regex.PatternSyntaxException;30 public void testSimpleMatch() throws PatternSyntaxException { in testSimpleMatch()100 } catch (PatternSyntaxException e) { in testCursors()106 public void testGroups() throws PatternSyntaxException { in testGroups()159 public void testReplace() throws PatternSyntaxException { in testReplace()206 public void testEscapes() throws PatternSyntaxException { in testEscapes()256 } catch (PatternSyntaxException e) { in testEscapes()262 } catch (PatternSyntaxException e) { in testEscapes()268 } catch (PatternSyntaxException e) { in testEscapes()274 } catch (PatternSyntaxException e) { in testEscapes()[all …]
21 import java.util.regex.PatternSyntaxException;31 public void testCase() throws PatternSyntaxException { in testCase()60 public void testMultiline() throws PatternSyntaxException { in testMultiline()
21 import java.util.regex.PatternSyntaxException;36 public void testErrorConditions() throws PatternSyntaxException { in testErrorConditions()87 public void testErrorConditions2() throws PatternSyntaxException { in testErrorConditions2()
21 import java.util.regex.PatternSyntaxException;28 public void testSimpleReplace() throws PatternSyntaxException { in testSimpleReplace()
22 import java.util.regex.PatternSyntaxException;87 public void testSplit1() throws PatternSyntaxException { in testSplit1()
35 public class PatternSyntaxException class58 public PatternSyntaxException(String desc, String regex, int index) { in PatternSyntaxException() method in PatternSyntaxException
3520 private void compile() throws PatternSyntaxException { in compile()
23 import java.util.regex.PatternSyntaxException;187 } catch(PatternSyntaxException pse) { in test_replaceAll()210 } catch(PatternSyntaxException pse) { in test_replaceFirst()231 } catch(PatternSyntaxException pse) { in test_splitLString()260 } catch(PatternSyntaxException pse) { in test_splitLStringLint()
192 } catch (PatternSyntaxException pse) {196 } catch (PatternSyntaxException pse0) {
23 import java.util.regex.PatternSyntaxException;689 } catch(PatternSyntaxException expected) {} in testNamedGroupCapture()704 } catch(PatternSyntaxException expected) {} in testNamedGroupBackreference()
47 import java.util.regex.PatternSyntaxException;347 } catch (PatternSyntaxException expected) { in test_newDirectoryStream$Path$String_Exception()
68 import java.util.regex.PatternSyntaxException;180 assertThrows(PatternSyntaxException.class, () -> in checkExpectedFail()1781 } catch (PatternSyntaxException e) { in longPatternTest()1796 } catch (PatternSyntaxException e) { in longPatternTest()3400 } catch (PatternSyntaxException e) { in processFile()3981 assertThrows(PatternSyntaxException.class, () -> Pattern.compile(p1)); in unicodeCharacterNameTest()3987 assertThrows(PatternSyntaxException.class, () -> Pattern.compile(p2)); in unicodeCharacterNameTest()4001 assertThrows(PatternSyntaxException.class, () -> Pattern.compile(p)); in unicodeCharacterNameTest()4006 assertThrows(PatternSyntaxException.class, () -> Pattern.compile(p)); in unicodeCharacterNameTest()4420 var e = expectThrows(PatternSyntaxException.class, () -> Pattern.compile(pat)); in invalidGroupName()[all …]
33 import java.util.regex.PatternSyntaxException;
49 import java.util.regex.PatternSyntaxException;
1243 "ojluni/src/main/java/java/util/regex/PatternSyntaxException.java",
1208 …va/java/util/regex/PatternSyntaxException.java,jdk17u/jdk-17.0.6-ga,src/java.base/share/classes/ja…
18153 public class PatternSyntaxException extends java.lang.IllegalArgumentException {18154 ctor public PatternSyntaxException(String, String, int);