|
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.repository.query.QueryCreationException
public final class QueryCreationException
Exception to be thrown if a query cannot be created from a QueryMethod.
| Method Summary | |
|---|---|
static QueryCreationException |
create(QueryMethod method,
String message)
Creates a new QueryCreationException. |
static QueryCreationException |
create(QueryMethod method,
Throwable cause)
Creates a new QueryCreationException for the given QueryMethod and Throwable as cause. |
static QueryCreationException |
invalidProperty(QueryMethod method,
String propertyName)
Rejects the given domain class property. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static QueryCreationException invalidProperty(QueryMethod method,
String propertyName)
method - propertyName -
public static QueryCreationException create(QueryMethod method,
String message)
QueryCreationException.
method - message -
public static QueryCreationException create(QueryMethod method,
Throwable cause)
QueryCreationException for the given QueryMethod and Throwable as cause.
method - cause -
|
Spring Data Commons | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||