Class NoRootNodeMappingException

All Implemented Interfaces:
Serializable, Formattable

@API(status=INTERNAL, since="6.0.2") public final class NoRootNodeMappingException extends MappingException implements Formattable
A 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.
Since:
6.0.2
Author:
Michael J. Simons
See Also:
  • Constructor Details

    • NoRootNodeMappingException

      public NoRootNodeMappingException(org.neo4j.driver.types.MapAccessor mapAccessor, Neo4jPersistentEntity<?> entity)
  • Method Details

    • formatTo

      public void formatTo(Formatter formatter, int flags, int width, int precision)
      Specified by:
      formatTo in interface Formattable