@API(status=INTERNAL,
since="6.0.2")
public final class NoRootNodeMappingException
extends MappingException
implements Formattable
NoRootNodeMappingException is thrown when the entity converter cannot find a node or map like structure
that can be mapped.
Nodes eligible for mapping are actual nodes with at least the primary label attached or exactly one map structure
that is neither a node nor relationship itself.| Constructor and Description |
|---|
NoRootNodeMappingException(org.neo4j.driver.types.MapAccessor mapAccessor,
Neo4jPersistentEntity<?> entity) |
| Modifier and Type | Method and Description |
|---|---|
void |
formatTo(Formatter formatter,
int flags,
int width,
int precision) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic NoRootNodeMappingException(org.neo4j.driver.types.MapAccessor mapAccessor,
Neo4jPersistentEntity<?> entity)
public void formatTo(Formatter formatter, int flags, int width, int precision)
formatTo in interface FormattableCopyright © 2019–2022 Neo4j, Neo4j Sweden AB. All rights reserved.