public class QueryMethodParameterConversionException extends RuntimeException
| Constructor and Description |
|---|
QueryMethodParameterConversionException(Object source,
org.springframework.core.MethodParameter parameter,
org.springframework.core.convert.ConversionException cause)
Creates a new
QueryMethodParameterConversionException for the given source object, MethodParameter
and root cause ConversionException. |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.core.MethodParameter |
getParameter()
Returns the
MethodParameter we tried to convert the source value for. |
Object |
getSource()
Returns the source value that we failed converting.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic QueryMethodParameterConversionException(Object source, org.springframework.core.MethodParameter parameter, org.springframework.core.convert.ConversionException cause)
QueryMethodParameterConversionException for the given source object, MethodParameter
and root cause ConversionException.source - can be null.parameter - the MethodParameter the value should've been converted for, must not be null..cause - the original ConversionException, must not be null.public Object getSource()
public org.springframework.core.MethodParameter getParameter()
MethodParameter we tried to convert the source value for.getSource()Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.