public class InvalidPersistentPropertyPath extends MappingException
PersistentPropertyPath
completely.Constructor and Description |
---|
InvalidPersistentPropertyPath(String source,
TypeInformation<?> type,
String unresolvableSegment,
PersistentPropertyPath<? extends PersistentProperty<?>> resolvedPath)
Creates a new
InvalidPersistentPropertyPath for the given resolved path and message. |
Modifier and Type | Method and Description |
---|---|
String |
getResolvedPath()
Returns the part of the source path until which the source property path could be resolved.
|
String |
getSource()
Returns the source property path.
|
TypeInformation<?> |
getType()
Returns the type the source property path was attempted to be resolved on.
|
String |
getUnresolvableSegment()
Returns the segment of the source property path that could not be resolved.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidPersistentPropertyPath(String source, TypeInformation<?> type, String unresolvableSegment, PersistentPropertyPath<? extends PersistentProperty<?>> resolvedPath)
InvalidPersistentPropertyPath
for the given resolved path and message.source
- must not be null.unresolvableSegment
- must not be null or empty.resolvedPath
- must not be null or empty.public String getSource()
public TypeInformation<?> getType()
public String getUnresolvableSegment()
public String getResolvedPath()
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.