Serializable
public class MalformedParametersException extends RuntimeException
the
java.lang.reflect package
attempts to read method parameters from a class file and determines that one or more parameters are malformed. The following is a list of conditions under which this exception can be thrown:
Executable.getParameters()
for more information.Constructor | Description |
---|---|
MalformedParametersException() |
Create a MalformedParametersException with an empty reason. |
MalformedParametersException |
Create a MalformedParametersException . |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public MalformedParametersException()
MalformedParametersException
with an empty reason.public MalformedParametersException(String reason)
MalformedParametersException
.reason
- The reason for the exception.
© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/reflect/MalformedParametersException.html