This exception may also be thrown when two method handles are composed, and the system detects that their types cannot be matched up correctly. This amounts to an early evaluation of the type mismatch, at method handle construction time, instead of when the mismatched method handle is called.
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public | WrongMethodTypeException(String
the detail message. s)Constructs a |
| pack-priv | WrongMethodTypeException(String
the detail message. s, Throwable the cause of the exception, or null. cause)Constructs a |
| pack-priv | WrongMethodTypeException(Throwable
the cause of the exception, or null. cause)Constructs a |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| WrongMethodTypeException | back to summary |
|---|---|
| public WrongMethodTypeException() Constructs a | |
| WrongMethodTypeException | back to summary |
|---|---|
| public WrongMethodTypeException(String s) Constructs a
| |
| WrongMethodTypeException | back to summary |
|---|---|
| pack-priv WrongMethodTypeException(String s, Throwable cause) Constructs a | |
| WrongMethodTypeException | back to summary |
|---|---|
| pack-priv WrongMethodTypeException(Throwable cause) Constructs a
| |