Package: org.codehaus.groovy.runtime.metaclass

## [Java] Class MissingPropertyExceptionNoStack

- org.codehaus.groovy.runtime.metaclass.MissingPropertyExceptionNoStack

-     public class MissingPropertyExceptionNoStack
      extends MissingPropertyException

  A MissingPropertyException 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.

- - Inherited fields
    Fields inherited from class | Fields
    --- | ---
    `class MissingPropertyException` | `MPE`

  - ### Constructor Summary

    Constructors
    Constructor and description
    `MissingPropertyExceptionNoStack(String propertyName, Class theClass)` Constructs a new MissingPropertyExceptionNoStack.

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public Throwable` | `fillInStackTrace()` Overrides the default stack trace filling to optimize performance.

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class MissingPropertyException` | `getMessageWithoutLocationText, getProperty, getType`
    `class GroovyRuntimeException` | `getLocationText, getMessage, getMessageWithoutLocationText, getModule, getNode, setModule`

- - ### Constructor Detail

    - #### public MissingPropertyExceptionNoStack(String propertyName, Class theClass)

      Constructs a new MissingPropertyExceptionNoStack.

      Parameters:
        `propertyName` - the name of the missing property
        `theClass` - the class where the property was not found

  - ### Method Detail

    - #### public Throwable fillInStackTrace()

      Overrides the default stack trace filling to optimize performance. Returns this exception without populating the stack trace.

      Returns:
        this exception unchanged