Package org.springframework.asm
Class MethodTooLargeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IndexOutOfBoundsException
org.springframework.asm.MethodTooLargeException
- All Implemented Interfaces:
- Serializable
Exception thrown when the Code attribute of a method produced by a 
ClassWriter is too
 large.- Author:
- Jason Zaugg
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionMethodTooLargeException(String className, String methodName, String descriptor, int codeSize) Constructs a newMethodTooLargeException.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the internal name of the owner class.intReturns the size of the method's Code attribute, in bytes.Returns the descriptor of the method.Returns the name of the method.Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
MethodTooLargeExceptionpublic MethodTooLargeException(String className, String methodName, String descriptor, int codeSize) Constructs a newMethodTooLargeException.- Parameters:
- 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.
 
 
- 
- 
Method Details- 
getClassNameReturns the internal name of the owner class.- Returns:
- the internal name of the owner class (see Type.getInternalName()).
 
- 
getMethodNameReturns the name of the method.- Returns:
- the name of the method.
 
- 
getDescriptorReturns the descriptor of the method.- Returns:
- the descriptor of the method.
 
- 
getCodeSizepublic int getCodeSize()Returns the size of the method's Code attribute, in bytes.- Returns:
- the size of the method's Code attribute, in bytes.
 
 
-