Searched refs:PatternSyntaxException (Results 1 – 20 of 20) 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;284 } catch (PatternSyntaxException pse) { in testCompile_WrongPatternsFail()540 } catch (PatternSyntaxException e) { in testCompileStringInt()548 } catch (PatternSyntaxException e) { in testCompileStringInt()556 } catch (PatternSyntaxException e) { in testCompileStringInt()565 } catch (PatternSyntaxException e) { in testCompileStringInt()593 } catch (PatternSyntaxException pse) { in testQuantCompileNeg()658 } catch (PatternSyntaxException pse) { in testMatchesException()718 } catch (PatternSyntaxException pse) { in testRangesSpecialCases()771 } 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()
37 public class PatternSyntaxException class59 public PatternSyntaxException(String desc, String regex, int index) { in PatternSyntaxException() method in PatternSyntaxException
1433 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()
33 import java.util.regex.PatternSyntaxException;
41 import java.util.regex.PatternSyntaxException;
1209 "ojluni/src/main/java/java/util/regex/PatternSyntaxException.java",
1148 …a/java/util/regex/PatternSyntaxException.java,jdk11u/jdk-11.0.13-ga,src/java.base/share/classes/ja…
17088 public class PatternSyntaxException extends java.lang.IllegalArgumentException {17089 ctor public PatternSyntaxException(String, String, int);