public class MissingMethodExceptionNoStack
extends MissingMethodException
A MissingMethodException that does not populate the stack trace. This exception is optimized for performance when the stack trace is not needed, as stack trace generation can be expensive.
This exception is for internal use only.
| Constructor and description |
|---|
MissingMethodExceptionNoStack(String method, Class type, Object[] arguments)Constructs a new MissingMethodExceptionNoStack. |
MissingMethodExceptionNoStack(String method, Class type, Object[] arguments, boolean isStatic)Constructs a new MissingMethodExceptionNoStack. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public Throwable |
fillInStackTrace()Overrides the default stack trace filling to optimize performance. |
| Methods inherited from class | Name |
|---|---|
class MissingMethodException |
getArguments, getMessage, getMethod, getType, isStatic |
class GroovyRuntimeException |
getLocationText, getMessage, getMessageWithoutLocationText, getModule, getNode, setModule |
Constructs a new MissingMethodExceptionNoStack.
method - the name of the missing methodtype - the class where the method was not foundarguments - the arguments that were passed to the missing method callConstructs a new MissingMethodExceptionNoStack.
method - the name of the missing methodtype - the class where the method was not foundarguments - the arguments that were passed to the missing method callisStatic - true if the missing method was a static method, false otherwiseOverrides the default stack trace filling to optimize performance. Returns this exception without populating the stack trace.
Copyright © 2003-2026 The Apache Software Foundation. All rights reserved.