public static class FiberQueryException.WrongType extends FiberQueryException
FiberQueryException.MissingChild, FiberQueryException.WrongType| Constructor and Description |
|---|
WrongType(ConfigTree invalidTree,
ConfigNode invalidItem,
java.lang.Class<?> expectedNodeType,
java.lang.Class<?> expectedValueType) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<?> |
getExpectedNodeType() |
java.lang.Class<?> |
getExpectedValueType()
Returns the type of property values expected by the query.
|
ConfigNode |
getInvalidNode() |
getErrorParentpublic WrongType(ConfigTree invalidTree, ConfigNode invalidItem, java.lang.Class<?> expectedNodeType, @Nullable java.lang.Class<?> expectedValueType)
public ConfigNode getInvalidNode()
public java.lang.Class<?> getExpectedNodeType()
@Nullable public java.lang.Class<?> getExpectedValueType()
If the query expected an ancestor node to be found, this method returns null.
null if the query did not expect a property