Package org.neo4j.ogm.exception.core
Class MappingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.neo4j.ogm.exception.core.MappingException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AmbiguousBaseClassException
,BaseClassNotFoundException
,InvalidRelationshipTargetException
Specialised
RuntimeException
thrown when an unrecoverable issue occurs when mapping between objects and graphs.- Author:
- Adam George
- See Also:
-
Constructor Summary
ConstructorDescriptionMappingException
(String message) Constructs a newMappingException
with the given message.MappingException
(String reasonMessage, Exception cause) Constructs a newMappingException
with the given reason message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MappingException
Constructs a newMappingException
with the given reason message and cause.- Parameters:
reasonMessage
- A message explaining the reason for this exceptioncause
- The underlyingException
that was the root cause of the problem
-
MappingException
Constructs a newMappingException
with the given message.- Parameters:
message
- A message describing the reason for this exception
-