Class MissingPropertyExceptionNoStack

All Implemented Interfaces:
Serializable

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.

See Also:
  • Constructor Details

    • MissingPropertyExceptionNoStack

      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 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