public static class FiberQueryException.WrongType extends FiberQueryException
FiberQueryException.MissingChild, FiberQueryException.WrongType| Constructor and Description |
|---|
WrongType(ConfigTree invalidTree,
ConfigNode invalidItem,
Class<?> expectedNodeType,
SerializableType<?> expectedValueType) |
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
getExpectedNodeType()
The expected type given in the config query.
|
SerializableType<?> |
getExpectedValueType()
Returns the type of property values expected by the query.
|
ConfigNode |
getInvalidNode()
The actual node found, which is of unexpected type.
|
getErrorParentaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic WrongType(ConfigTree invalidTree, ConfigNode invalidItem, Class<?> expectedNodeType, @Nullable SerializableType<?> expectedValueType)
public ConfigNode getInvalidNode()
public Class<?> getExpectedNodeType()
@Nullable public SerializableType<?> getExpectedValueType()
If the query expected an ancestor node to be found, this method returns null.
null if the query did not expect a property