public class AmbiguousSchemaNameException extends SchemaException
| Modifier and Type | Field and Description |
|---|---|
private java.util.List<NameNode> |
matches
List of name nodes which matched criteria in ambiguous search
|
| Constructor and Description |
|---|
AmbiguousSchemaNameException(java.lang.String message,
java.util.List<NameNode> matches)
Constructor which accepts an error message and a list of matches.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<NameNode> |
getMatches()
Get the list of
NameNode objects which matched the name used in
the ambiguous search which caused this exception. |
java.lang.String |
toString()
Get the string representation of this exception, which consists of the
error message and a listing of all matching name nodes.
|
private java.util.List<NameNode> matches
public AmbiguousSchemaNameException(java.lang.String message,
java.util.List<NameNode> matches)
message - Error message.matches - List of ambiguous name matches which were the cause of this
exception.public java.util.List<NameNode> getMatches()
NameNode objects which matched the name used in
the ambiguous search which caused this exception.public java.lang.String toString()
toString in class java.lang.Throwable