- groovy.lang.MissingPropertyException
-
public class MissingPropertyException
extends GroovyRuntimeException
An exception occurred if a dynamic property dispatch fails with an unknown property.
Note that the Missing*Exception classes were named for consistency and
to avoid conflicts with JDK exceptions of the same name.
-
-
Field Summary
Fields
Modifiers |
Name |
Description |
static Object |
MPE |
|
-
Methods Summary
-
Inherited Methods Summary
-
-
Field Detail
-
public static final Object MPE
-
Constructor Detail
-
public MissingPropertyException(String property, Class type)
-
public MissingPropertyException(String message)
-
Method Detail
-
public String getProperty()
- Returns:
- the name of the property that could not be found
-
public Class getType()
- Returns:
- The type on which the property was attempted to be called
Copyright © 2003-2024 The Apache Software Foundation. All rights reserved.