public class BootstrapMethodError extends LinkageError
invokedynamic instruction has
failed to find its bootstrap method,
or the bootstrap method has failed to provide a
call site with a target
of the correct method type.| Constructor | Description |
|---|---|
BootstrapMethodError() |
Constructs a
BootstrapMethodError with no detail message. |
BootstrapMethodError(String s) |
Constructs a
BootstrapMethodError with the specified
detail message. |
BootstrapMethodError(String s,
Throwable cause) |
Constructs a
BootstrapMethodError with the specified
detail message and cause. |
BootstrapMethodError(Throwable cause) |
Constructs a
BootstrapMethodError with the specified
cause. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic BootstrapMethodError()
BootstrapMethodError with no detail message.public BootstrapMethodError(String s)
BootstrapMethodError with the specified
detail message.s - the detail message.public BootstrapMethodError(String s, Throwable cause)
BootstrapMethodError with the specified
detail message and cause.s - the detail message.cause - the cause, may be null.public BootstrapMethodError(Throwable cause)
BootstrapMethodError with the specified
cause.cause - the cause, may be null. Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2025, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.