Added in API level 26

LambdaConversionException

public class LambdaConversionException
extends Exception

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.invoke.LambdaConversionException


LambdaConversionException

Summary

Public constructors

LambdaConversionException()

Constructs a LambdaConversionException.

LambdaConversionException(String message)

Constructs a LambdaConversionException with a message.

LambdaConversionException(String message, Throwable cause)

Constructs a LambdaConversionException with a message and cause.

LambdaConversionException(Throwable cause)

Constructs a LambdaConversionException with a cause.

LambdaConversionException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)

Constructs a LambdaConversionException with a message, cause, and other settings.

Inherited methods

Public constructors

LambdaConversionException

Added in API level 26
public LambdaConversionException ()

Constructs a LambdaConversionException.

LambdaConversionException

Added in API level 26
public LambdaConversionException (String message)

Constructs a LambdaConversionException with a message.

Parameters
message String: the detail message

LambdaConversionException

Added in API level 26
public LambdaConversionException (String message, 
                Throwable cause)

Constructs a LambdaConversionException with a message and cause.

Parameters
message String: the detail message

cause Throwable: the cause

LambdaConversionException

Added in API level 26
public LambdaConversionException (Throwable cause)

Constructs a LambdaConversionException with a cause.

Parameters
cause Throwable: the cause

LambdaConversionException

Added in API level 26
public LambdaConversionException (String message, 
                Throwable cause, 
                boolean enableSuppression, 
                boolean writableStackTrace)

Constructs a LambdaConversionException with a message, cause, and other settings.

Parameters
message String: the detail message

cause Throwable: the cause

enableSuppression boolean: whether or not suppressed exceptions are enabled

writableStackTrace boolean: whether or not the stack trace is writable