Class LambdaIntrospectionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.data.core.PropertyResolutionException
org.springframework.data.core.LambdaIntrospectionException
- All Implemented Interfaces:
Serializable
RuntimeException for errors during SerializedLambda parsing or introspection of
types.
Typically, thrown when a lambda or method reference is not a serializable lambda, or violates supported patterns (e.g. constructor references, multi-step access).
- Since:
- 4.1
- Author:
- Christoph Strobl
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionLambdaIntrospectionException(@Nullable String msg) Construct aLambdaIntrospectionExceptionwith the specified detail message.LambdaIntrospectionException(@Nullable String msg, @Nullable Throwable cause) Construct aLambdaIntrospectionExceptionwith the specified detail message and nested exception. -
Method Summary
Methods inherited from class NestedRuntimeException
contains, getMostSpecificCause, getRootCauseMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
LambdaIntrospectionException
Construct aLambdaIntrospectionExceptionwith the specified detail message.- Parameters:
msg- the detail message.
-
LambdaIntrospectionException
-