jdk/src/share/classes/java/lang/invoke/WrongMethodTypeException.java
changeset 13610 28122b96858e
parent 8822 8145ab9f5f86
child 14342 8435a30053c1
equal deleted inserted replaced
13460:c7aa5cca1c01 13610:28122b96858e
    57      * @param s the detail message.
    57      * @param s the detail message.
    58      */
    58      */
    59     public WrongMethodTypeException(String s) {
    59     public WrongMethodTypeException(String s) {
    60         super(s);
    60         super(s);
    61     }
    61     }
       
    62 
       
    63     /**
       
    64      * Constructs a {@code WrongMethodTypeException} with the specified
       
    65      * detail message and cause.
       
    66      *
       
    67      * @param s the detail message.
       
    68      * @param cause the cause of the exception, or null.
       
    69      */
       
    70     //FIXME: make this public in MR1
       
    71     /*non-public*/ WrongMethodTypeException(String s, Throwable cause) {
       
    72         super(s, cause);
       
    73     }
       
    74 
       
    75     /**
       
    76      * Constructs a {@code WrongMethodTypeException} with the specified
       
    77      * cause.
       
    78      *
       
    79      * @param cause the cause of the exception, or null.
       
    80      */
       
    81     //FIXME: make this public in MR1
       
    82     /*non-public*/ WrongMethodTypeException(Throwable cause) {
       
    83         super(cause);
       
    84     }
    62 }
    85 }