Class MissingMethodExceptionNoStack

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
MissingMethodExecutionFailed

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.

See Also:
  • Constructor Details

    • MissingMethodExceptionNoStack

      public MissingMethodExceptionNoStack(String method, Class type, Object[] arguments)
      Constructs a new MissingMethodExceptionNoStack.
      Parameters:
      method - the name of the missing method
      type - the class where the method was not found
      arguments - the arguments that were passed to the missing method call
    • MissingMethodExceptionNoStack

      public MissingMethodExceptionNoStack(String method, Class type, Object[] arguments, boolean isStatic)
      Constructs a new MissingMethodExceptionNoStack.
      Parameters:
      method - the name of the missing method
      type - the class where the method was not found
      arguments - the arguments that were passed to the missing method call
      isStatic - true if the missing method was a static method, false otherwise
  • Method Details

    • fillInStackTrace

      public Throwable fillInStackTrace()
      Overrides the default stack trace filling to optimize performance. Returns this exception without populating the stack trace.
      Overrides:
      fillInStackTrace in class Throwable
      Returns:
      this exception unchanged