Searched refs:PatternSyntaxException (Results 1 – 10 of 10) sorted by relevance
| /libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/ |
| D | PatternSyntaxExceptionTest.java | 19 import java.util.regex.PatternSyntaxException; 27 PatternSyntaxException e = new PatternSyntaxException("Foo", "Bar", 0); in testPatternSyntaxException() 38 e = new PatternSyntaxException(null, "Bar", 0); in testPatternSyntaxException() 49 e = new PatternSyntaxException("Foo", null, 0); in testPatternSyntaxException() 60 e = new PatternSyntaxException(null, null, 0); in testPatternSyntaxException() 71 e = new PatternSyntaxException("Foo", "Bar", -1); in testPatternSyntaxException() 78 e = new PatternSyntaxException("Foo", null, 0); in testPatternSyntaxException()
|
| D | Pattern2Test.java | 21 import java.util.regex.PatternSyntaxException; 31 public void testSimpleMatch() throws PatternSyntaxException { in testSimpleMatch() 100 } catch (PatternSyntaxException e) { in testCursors() 105 public void testGroups() throws PatternSyntaxException { in testGroups() 158 public void testReplace() throws PatternSyntaxException { in testReplace() 205 public void testEscapes() throws PatternSyntaxException { in testEscapes() 316 } catch (PatternSyntaxException e) { in testEscapes() 330 } catch (PatternSyntaxException e) { in testEscapes() 336 } catch (PatternSyntaxException e) { in testEscapes() 401 public void testCharacterClasses() throws PatternSyntaxException { in testCharacterClasses() [all …]
|
| D | ModeTest.java | 22 import java.util.regex.PatternSyntaxException; 30 public void testCase() throws PatternSyntaxException { in testCase() 58 public void testMultiline() throws PatternSyntaxException { in testMultiline()
|
| D | ReplaceTest.java | 22 import java.util.regex.PatternSyntaxException; 25 public void testSimpleReplace() throws PatternSyntaxException { in testSimpleReplace()
|
| D | Matcher2Test.java | 34 public void testErrorConditions() throws PatternSyntaxException { in testErrorConditions() 85 public void testErrorConditions2() throws PatternSyntaxException { in testErrorConditions2()
|
| D | PatternTest.java | 23 import java.util.regex.PatternSyntaxException; 208 } catch (PatternSyntaxException pse) { in testCompile() 427 } catch (PatternSyntaxException e) { in testCompileStringint() 435 } catch (PatternSyntaxException e) { in testCompileStringint() 443 } catch (PatternSyntaxException e) { in testCompileStringint() 452 } catch (PatternSyntaxException e) { in testCompileStringint() 479 } catch (PatternSyntaxException pse) { in testQuantCompileNeg() 544 } catch (PatternSyntaxException pse) { in testMatchesException() 604 } catch (PatternSyntaxException pse) { in testRangesSpecialCases() 639 } catch (PatternSyntaxException pse) { in testOrphanQuantifiers() [all …]
|
| D | SplitTest.java | 63 public void testSplit1() throws PatternSyntaxException { in testSplit1()
|
| /libcore/luni/src/main/java/java/util/regex/ |
| D | PatternSyntaxException.java | 30 public class PatternSyntaxException extends IllegalArgumentException { class 66 public PatternSyntaxException(String description, String pattern, int index) { in PatternSyntaxException() method in PatternSyntaxException
|
| D | Pattern.java | 366 … public static Pattern compile(String regularExpression, int flags) throws PatternSyntaxException { in compile() 377 private Pattern(String pattern, int flags) throws PatternSyntaxException { in Pattern() 386 private void compile() throws PatternSyntaxException { in compile()
|
| /libcore/luni/src/test/java/libcore/java/lang/ |
| D | OldStringTest.java | 23 import java.util.regex.PatternSyntaxException; 186 } catch(PatternSyntaxException pse) { in test_replaceAll() 208 } catch(PatternSyntaxException pse) { in test_replaceFirst() 228 } catch(PatternSyntaxException pse) { in test_splitLString() 256 } catch(PatternSyntaxException pse) { in test_splitLStringLint()
|