23 * questions.
24 */
25
26 package java.lang;
27
28 /**
29 * Thrown to indicate that an {@code invokedynamic} instruction or a dynamic
30 * constant failed to resolve its bootstrap method and arguments,
31 * or for {@code invokedynamic} instruction the bootstrap method has failed to
32 * provide a
33 * {@linkplain java.lang.invoke.CallSite call site} with a
34 * {@linkplain java.lang.invoke.CallSite#getTarget target}
35 * of the correct {@linkplain java.lang.invoke.MethodHandle#type() method type},
36 * or for a dynamic constant the bootstrap method has failed to provide a
37 * constant value of the required type.
38 *
39 * @author John Rose, JSR 292 EG
40 * @since 1.7
41 */
42 public class BootstrapMethodError extends LinkageError {
43 private static final long serialVersionUID = 292L;
44
45 /**
46 * Constructs a {@code BootstrapMethodError} with no detail message.
47 */
48 public BootstrapMethodError() {
49 super();
50 }
51
52 /**
53 * Constructs a {@code BootstrapMethodError} with the specified
54 * detail message.
55 *
56 * @param s the detail message.
57 */
58 public BootstrapMethodError(String s) {
59 super(s);
60 }
61
62 /**
|
23 * questions.
24 */
25
26 package java.lang;
27
28 /**
29 * Thrown to indicate that an {@code invokedynamic} instruction or a dynamic
30 * constant failed to resolve its bootstrap method and arguments,
31 * or for {@code invokedynamic} instruction the bootstrap method has failed to
32 * provide a
33 * {@linkplain java.lang.invoke.CallSite call site} with a
34 * {@linkplain java.lang.invoke.CallSite#getTarget target}
35 * of the correct {@linkplain java.lang.invoke.MethodHandle#type() method type},
36 * or for a dynamic constant the bootstrap method has failed to provide a
37 * constant value of the required type.
38 *
39 * @author John Rose, JSR 292 EG
40 * @since 1.7
41 */
42 public class BootstrapMethodError extends LinkageError {
43 @java.io.Serial
44 private static final long serialVersionUID = 292L;
45
46 /**
47 * Constructs a {@code BootstrapMethodError} with no detail message.
48 */
49 public BootstrapMethodError() {
50 super();
51 }
52
53 /**
54 * Constructs a {@code BootstrapMethodError} with the specified
55 * detail message.
56 *
57 * @param s the detail message.
58 */
59 public BootstrapMethodError(String s) {
60 super(s);
61 }
62
63 /**
|