|
Spring Data Commons | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.data.mapping.PropertyReferenceException
public class PropertyReferenceException
Exception being thrown when creating PropertyPath instances.
| Constructor Summary | |
|---|---|
PropertyReferenceException(String propertyName,
TypeInformation<?> type,
PropertyPath base)
Creates a new PropertyReferenceException. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
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.| Method Detail |
|---|
public String getPropertyName()
public TypeInformation<?> getType()
public String getMessage()
getMessage in class Throwablepublic PropertyPath getBaseProperty()
PropertyPath which could be resolved so far.
|
Spring Data Commons | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||