Modifier and Type | Method and Description |
---|---|
PatternSyntaxException |
missingClassEnd(String glob)
Creates an exception that can be thrown if a glob missing a class end character (
] ). |
PatternSyntaxException |
missingGroupEnd(String glob)
Creates an exception that can be thrown if a glob missing a group end character (
} ). |
PatternSyntaxException |
nestedClassesNotSupported(String glob,
int index)
Creates an exception that can be thrown if a glob contains nested classes.
|
PatternSyntaxException |
nestedGroupsNotSupported(String glob,
int index)
Creates an exception that can be thrown if a glob contains nested groups.
|
PatternSyntaxException |
separatorNotAllowedInClass(String glob,
int index)
Creates an exception that can be thrown if a glob contains a separator (e.g.
|
PatternSyntaxException |
unescapableChar(String glob,
int index)
Creates an exception that can be thrown if a glob contains an escape character (
\ ) that does not escape an actual glob meta
character. |
PatternSyntaxException |
unexpectedClassEnd(String glob,
int index)
Creates an exception that can be thrown if a glob contains a class end character (
] ) that does not close a class. |
PatternSyntaxException |
unexpectedGroupEnd(String glob,
int index)
Creates an exception that can be thrown if a glob contains a group end character (
} ) that does not close a group. |
public PatternSyntaxException nestedGroupsNotSupported(String glob, int index)
glob
- The glob that contains nested groups.index
- The index at which the (first) nested group is encountered.public PatternSyntaxException unexpectedGroupEnd(String glob, int index)
}
) that does not close a group.glob
- The glob that contains the unexpected group end character.index
- The index at which the unexpected group end character occurs.public PatternSyntaxException missingGroupEnd(String glob)
}
).glob
- The glob that misses a group end character.public PatternSyntaxException nestedClassesNotSupported(String glob, int index)
glob
- The glob that contains nested classes.index
- The index at which the (first) nested class is encountered.public PatternSyntaxException unexpectedClassEnd(String glob, int index)
]
) that does not close a class.glob
- The glob that contains the unexpected class end character.index
- The index at which the unexpected class end character occurs.public PatternSyntaxException missingClassEnd(String glob)
]
).glob
- The glob that misses a class end character.public PatternSyntaxException separatorNotAllowedInClass(String glob, int index)
/
) in a class.glob
- The glob that contains a separator in a class.index
- The index at which the separator occurs.public PatternSyntaxException unescapableChar(String glob, int index)
\
) that does not escape an actual glob meta
character.glob
- The glob that contains an unexpected escape character.index
- The index at which the unexpected escape character occurs.Copyright © 2016–2023. All rights reserved.