public class PropertyReferenceException extends RuntimeException
PropertyPath
instances.Constructor and Description |
---|
PropertyReferenceException(String propertyName,
TypeInformation<?> type,
PropertyPath base)
Creates a new
PropertyReferenceException . |
Modifier and Type | Method and Description |
---|---|
PropertyPath |
getBaseProperty()
Returns the
PropertyPath which could be resolved so far. |
String |
getMessage() |
String |
getPropertyName()
Returns the name of the property not found.
|
TypeInformation<?> |
getType()
Returns the type the property could not be found on.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public PropertyReferenceException(String propertyName, TypeInformation<?> type, PropertyPath base)
PropertyReferenceException
.propertyName
- the name of the property not found on the given type.type
- the type the property could not be found on.base
- the base PropertyPath
.public String getPropertyName()
public TypeInformation<?> getType()
public String getMessage()
getMessage
in class Throwable
public PropertyPath getBaseProperty()
PropertyPath
which could be resolved so far.Copyright © 2011-2013-2013 Pivotal. All Rights Reserved.