public final class QueryCreationException extends RepositoryCreationException
Method.| Modifier and Type | Method and Description |
|---|---|
static QueryCreationException |
create(QueryMethod method,
String message)
Creates a new
QueryCreationException. |
static QueryCreationException |
create(QueryMethod method,
Throwable cause)
|
static QueryCreationException |
create(String message,
Throwable cause,
Class<?> repositoryInterface,
Method method)
|
Method |
getMethod() |
static QueryCreationException |
invalidProperty(QueryMethod method,
String propertyName)
Rejects the given domain class property.
|
getRepositoryInterfacecontains, getMessage, getMostSpecificCause, getRootCauseaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic 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)
method - cause - public static QueryCreationException create(String message, Throwable cause, Class<?> repositoryInterface, Method method)
method - cause - public Method getMethod()
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.