jdk/src/share/classes/java/dyn/InvokeDynamicBootstrapError.java
changeset 7055 bf14f05b3dcd
parent 7051 1c545d70a157
parent 6848 1a454f5b7209
child 7562 a0ad195efe2c
equal deleted inserted replaced
7054:fee2fbaf3293 7055:bf14f05b3dcd
    33  * failed to provide a
    33  * failed to provide a
    34  * {@linkplain CallSite} call site with a non-null {@linkplain MethodHandle target}
    34  * {@linkplain CallSite} call site with a non-null {@linkplain MethodHandle target}
    35  * of the correct {@linkplain MethodType method type}.
    35  * of the correct {@linkplain MethodType method type}.
    36  *
    36  *
    37  * @author John Rose, JSR 292 EG
    37  * @author John Rose, JSR 292 EG
       
    38  * @since 1.7
    38  */
    39  */
    39 public class InvokeDynamicBootstrapError extends LinkageError {
    40 public class InvokeDynamicBootstrapError extends LinkageError {
       
    41     private static final long serialVersionUID = 292L;
       
    42 
    40     /**
    43     /**
    41      * Constructs an {@code InvokeDynamicBootstrapError} with no detail message.
    44      * Constructs an {@code InvokeDynamicBootstrapError} with no detail message.
    42      */
    45      */
    43     public InvokeDynamicBootstrapError() {
    46     public InvokeDynamicBootstrapError() {
    44         super();
    47         super();
    57     /**
    60     /**
    58      * Constructs a {@code InvokeDynamicBootstrapError} with the specified
    61      * Constructs a {@code InvokeDynamicBootstrapError} with the specified
    59      * detail message and cause.
    62      * detail message and cause.
    60      *
    63      *
    61      * @param s the detail message.
    64      * @param s the detail message.
    62      * @param cause the cause.
    65      * @param cause the cause, may be {@code null}.
    63      */
    66      */
    64     public InvokeDynamicBootstrapError(String s, Throwable cause) {
    67     public InvokeDynamicBootstrapError(String s, Throwable cause) {
    65         super(s);
    68         super(s, cause);
    66         this.initCause(cause);
       
    67     }
    69     }
    68 }
    70 }