public final class QueryCreationException extends RuntimeException
QueryMethod
.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 |
invalidProperty(QueryMethod method,
String propertyName)
Rejects the given domain class property.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
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)
method
- cause
- Copyright © 2011-2014–2015 Pivotal Software, Inc.. All rights reserved.