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:
java.io.Serializable
public class InvalidMethodSignatureException extends ClassFormatException
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidMethodSignatureException(java.lang.String signature)
Constructs a new instance with the specified invalid signature as the message.InvalidMethodSignatureException(java.lang.String signature, java.lang.Throwable cause)
Constructs a new instance with the specified invalid signature as the message and a cause.
-
-
-
Constructor Detail
-
InvalidMethodSignatureException
public InvalidMethodSignatureException(java.lang.String signature)
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
public InvalidMethodSignatureException(java.lang.String signature, java.lang.Throwable cause)
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.
-
-