Class MissingPropertyExceptionNoStack
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
groovy.lang.GroovyRuntimeException
groovy.lang.MissingPropertyException
org.codehaus.groovy.runtime.metaclass.MissingPropertyExceptionNoStack
- All Implemented Interfaces:
Serializable
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:
-
Field Summary
Fields inherited from class groovy.lang.MissingPropertyException
MPE -
Constructor Summary
ConstructorsConstructorDescriptionMissingPropertyExceptionNoStack(String propertyName, Class theClass) Constructs a new MissingPropertyExceptionNoStack. -
Method Summary
Modifier and TypeMethodDescriptionOverrides the default stack trace filling to optimize performance.Methods inherited from class groovy.lang.MissingPropertyException
getMessageWithoutLocationText, getProperty, getTypeMethods inherited from class groovy.lang.GroovyRuntimeException
getLocationText, getMessage, getModule, getNode, setModuleMethods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MissingPropertyExceptionNoStack
Constructs a new MissingPropertyExceptionNoStack.- Parameters:
propertyName- the name of the missing propertytheClass- the class where the property was not found
-
-
Method Details
-
fillInStackTrace
Overrides the default stack trace filling to optimize performance. Returns this exception without populating the stack trace.- Overrides:
fillInStackTracein classThrowable- Returns:
- this exception unchanged
-