public class QueryMethodParameterConversionException extends RuntimeException
| Constructor and Description |
|---|
QueryMethodParameterConversionException(Object source,
MethodParameter parameter,
ConversionException cause)
Creates a new
QueryMethodParameterConversionException for the given source object, MethodParameter
and root cause ConversionException. |
| Modifier and Type | Method and Description |
|---|---|
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, MethodParameter parameter, 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 MethodParameter getParameter()
MethodParameter we tried to convert the source value for.getSource()Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.