Home
last modified time | relevance | path

Searched refs:PatternSyntaxException (Results 1 – 20 of 20) sorted by relevance

/libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/
DPatternSyntaxExceptionTest.java22 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 …]
DPattern2Test.java21 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()
DPatternTest.java23 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 …]
/libcore/ojluni/src/main/java/sun/nio/fs/
DGlobs.java28 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()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/regex/
DPattern2Test.java21 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 …]
DModeTest.java21 import java.util.regex.PatternSyntaxException;
31 public void testCase() throws PatternSyntaxException { in testCase()
60 public void testMultiline() throws PatternSyntaxException { in testMultiline()
DMatcher2Test.java21 import java.util.regex.PatternSyntaxException;
36 public void testErrorConditions() throws PatternSyntaxException { in testErrorConditions()
87 public void testErrorConditions2() throws PatternSyntaxException { in testErrorConditions2()
DReplaceTest.java21 import java.util.regex.PatternSyntaxException;
28 public void testSimpleReplace() throws PatternSyntaxException { in testSimpleReplace()
DSplitTest.java22 import java.util.regex.PatternSyntaxException;
87 public void testSplit1() throws PatternSyntaxException { in testSplit1()
/libcore/ojluni/src/main/java/java/util/regex/
DPatternSyntaxException.java37 public class PatternSyntaxException class
59 public PatternSyntaxException(String desc, String regex, int index) { in PatternSyntaxException() method in PatternSyntaxException
DPattern.java1433 private void compile() throws PatternSyntaxException { in compile()
/libcore/luni/src/test/java/libcore/java/lang/
DOldStringTest.java23 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()
/libcore/ojluni/src/test/java/lang/String/
DSplit.java192 } catch (PatternSyntaxException pse) {
196 } catch (PatternSyntaxException pse0) {
/libcore/luni/src/test/java/libcore/java/util/regex/
DOldMatcherTest.java23 import java.util.regex.PatternSyntaxException;
689 } catch(PatternSyntaxException expected) {} in testNamedGroupCapture()
704 } catch(PatternSyntaxException expected) {} in testNamedGroupBackreference()
/libcore/luni/src/test/java/libcore/java/nio/file/
DFilesTest.java47 import java.util.regex.PatternSyntaxException;
347 } catch (PatternSyntaxException expected) { in test_newDirectoryStream$Path$String_Exception()
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DString.annotated.java33 import java.util.regex.PatternSyntaxException;
/libcore/ojluni/src/main/java/java/lang/
DString.java41 import java.util.regex.PatternSyntaxException;
/libcore/
Dopenjdk_java_files.bp1209 "ojluni/src/main/java/java/util/regex/PatternSyntaxException.java",
DEXPECTED_UPSTREAM1148 …a/java/util/regex/PatternSyntaxException.java,jdk11u/jdk-11.0.13-ga,src/java.base/share/classes/ja…
/libcore/api/
Dcurrent.txt17088 public class PatternSyntaxException extends java.lang.IllegalArgumentException {
17089 ctor public PatternSyntaxException(String, String, int);