Package org.apache.bcel.classfile
Class InvalidMethodSignatureException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.bcel.classfile.ClassFormatException
org.apache.bcel.classfile.InvalidMethodSignatureException
- All Implemented Interfaces:
Serializable
Thrown when the BCEL attempts to read a class file and determines that a class is malformed or otherwise cannot be interpreted as a class file.
- Since:
- 6.8.0
- See Also:
-
Constructor Summary
ConstructorDescriptionInvalidMethodSignatureException
(String signature) Constructs a new instance with the specified invalid signature as the message.InvalidMethodSignatureException
(String signature, Throwable cause) Constructs a new instance with the specified invalid signature as the message and a cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidMethodSignatureException
Constructs a new instance with the specified invalid signature as the message.- Parameters:
signature
- The invalid signature is saved for later retrieval by theThrowable.getMessage()
method.
-
InvalidMethodSignatureException
Constructs a new instance with the specified invalid signature as the message and a cause.- Parameters:
signature
- The invalid signature is saved for later retrieval by theThrowable.getMessage()
method.cause
- the cause (which is saved for later retrieval by theThrowable.getCause()
method). Anull
value is permitted, and indicates that the cause is nonexistent or unknown.
-