Top Description Fields Constructors
java.lang

public Class BootstrapMethodError

extends LinkageError
Class Inheritance

Thrown to indicate that an invokedynamic instruction or a dynamic constant failed to resolve its bootstrap method and arguments, or for invokedynamic instruction the bootstrap method has failed to provide a call site with a target of the correct method type, or for a dynamic constant the bootstrap method has failed to provide a constant value of the required type.
Author
John Rose, JSR 292 EG
Since
1.7

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
BootstrapMethodError()

Constructs a BootstrapMethodError with no detail message.

public
BootstrapMethodError(String
the detail message.
s
)

Constructs a BootstrapMethodError with the specified detail message.

public
BootstrapMethodError(String
the detail message.
s
,
Throwable
the cause, may be null.
cause
)

Constructs a BootstrapMethodError with the specified detail message and cause.

public
BootstrapMethodError(Throwable
the cause, may be null.
cause
)

Constructs a BootstrapMethodError with the specified cause.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.LinkageError.serialVersionUID.

Annotations
@Serial

Constructor Detail

BootstrapMethodErrorback to summary
public BootstrapMethodError()

Constructs a BootstrapMethodError with no detail message.

BootstrapMethodErrorback to summary
public BootstrapMethodError(String s)

Constructs a BootstrapMethodError with the specified detail message.

Parameters
s:String

the detail message.

BootstrapMethodErrorback to summary
public BootstrapMethodError(String s, Throwable cause)

Constructs a BootstrapMethodError with the specified detail message and cause.

Parameters
s:String

the detail message.

cause:Throwable

the cause, may be null.

BootstrapMethodErrorback to summary
public BootstrapMethodError(Throwable cause)

Constructs a BootstrapMethodError with the specified cause.

Parameters
cause:Throwable

the cause, may be null.

Annotations
@SuppressWarnings:this-escape