public final class MethodTooLargeException extends IndexOutOfBoundsException
ClassWriter
is too
large.Constructor and Description |
---|
MethodTooLargeException(String className,
String methodName,
String descriptor,
int codeSize)
Constructs a new
MethodTooLargeException . |
Modifier and Type | Method and Description |
---|---|
String |
getClassName()
Returns the internal name of the owner class.
|
int |
getCodeSize()
Returns the size of the method's Code attribute, in bytes.
|
String |
getDescriptor()
Returns the descriptor of the method.
|
String |
getMethodName()
Returns the name of the method.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public MethodTooLargeException(String className, String methodName, String descriptor, int codeSize)
MethodTooLargeException
.className
- the internal name of the owner class (see Type.getInternalName()
).methodName
- the name of the method.descriptor
- the descriptor of the method.codeSize
- the size of the method's Code attribute, in bytes.public String getClassName()
Type.getInternalName()
).public String getMethodName()
public String getDescriptor()
public int getCodeSize()
Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.