Class LambdaIntrospectionException

All Implemented Interfaces:
Serializable

public class LambdaIntrospectionException extends PropertyResolutionException
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 Details

    • LambdaIntrospectionException

      public LambdaIntrospectionException(@Nullable String msg)
      Construct a LambdaIntrospectionException with the specified detail message.
      Parameters:
      msg - the detail message.
    • LambdaIntrospectionException

      public LambdaIntrospectionException(@Nullable String msg, @Nullable Throwable cause)
      Construct a LambdaIntrospectionException with the specified detail message and nested exception.
      Parameters:
      msg - the detail message.
      cause - the nested exception.