} catch (IllegalStateException e) {
}
// compiled but not matched
processor.compile("/path1/{var1}");
UriTemplateMatcher matcher = processor.matcher();
assertFalse(matcher.matches("/path2"));
try {
matcher.getVariables(false);
fail("expected IllegalStateException to be thrown");
} catch (IllegalStateException e) {
}
try {
matcher.getVariableValue("var1");
fail("expected IllegalStateException to be thrown");
} catch (IllegalStateException e) {
}
try {
matcher.getVariableValue("var1", false);
fail("expected IllegalStateException to be thrown");
} catch (IllegalStateException e) {
}
try {
matcher.getVariableValues("var1");
fail("expected IllegalStateException to be thrown");
} catch (IllegalStateException e) {
}
try {
matcher.getVariableValues("var1", false);
fail("expected IllegalStateException to be thrown");
} catch (IllegalStateException e) {
}
try {
matcher.getTail();
fail("expected IllegalStateException to be thrown");
} catch (IllegalStateException e) {
}
try {
matcher.getTail(false);
fail("expected IllegalStateException to be thrown");
} catch (IllegalStateException e) {
}
}