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.Executable.getParameters()
,
Serialized FormConstructor and Description |
---|
MalformedParametersException()
Create a
MalformedParametersException with an empty
reason. |
MalformedParametersException(String reason)
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. Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.