◆ PropertyMissingException() [1/2]
fiftyone.pipeline.engines.exceptions.PropertyMissingException.PropertyMissingException | ( | MissingPropertyReason | reason, |
String | propertyName, | ||
String | message | ||
) |
Constructs a new exception containing the property name, error, and reason the property was not found.
- Parameters
-
- propertyName - of the missing property
- message - why the property was not found
◆ PropertyMissingException() [2/2]
fiftyone.pipeline.engines.exceptions.PropertyMissingException.PropertyMissingException ( MissingPropertyReason reason, String propertyName, String message, Throwable cause ) Constructs a new exception containing the property name, error, and reason the property was not found.
- Parameters
-
- propertyName - of the missing property
- message - why the property was not found
- cause - of the exception
Member Function Documentation
◆ getPropertyName()
String fiftyone.pipeline.engines.exceptions.PropertyMissingException.getPropertyName ( ) Get the name of the property that was missing.
- Returns
- property name
◆ getReason()
MissingPropertyReason fiftyone.pipeline.engines.exceptions.PropertyMissingException.getReason ( ) Get missing property reason.
- Returns
- property name
◆ setReason()
void fiftyone.pipeline.engines.exceptions.PropertyMissingException.setReason ( MissingPropertyReason reason ) Set missing property reason.
- Parameters
-
- reason -