Exceptions
This section describes possible exception instances. They are all a subclass of python exception.
MetadataException Objects
This exception is thrown if an error occurs during operation of the metadata object.
UnsupportedOperationException Objects
This exception is thrown if the specific operation doesn't allow execution.
InconsistentOutputDataModel Objects
This exception is thrown if both
and
setSparkOutputSchema
are invoked but the field names and storage type information
common to both objects are inconsistent.setSparkOutputData
IncompatibleModelContentType Objects
- Using
to set model but usingsetModelContentFormString
to get valuegetModelContentToPath
- Using
to set model but usingsetModelContentFormPath
to get valuegetModelContentToString
DataOutputNotSupported Objects
This exception is raised in
in an execution handled by
function setSparkOutputData
.pyspark:buildmodel
ModelInputNotSupported Objects
This exception is only raised if the script doesn't invoke the
and getModelContentPathByKey
APIs in the
getModelContentToString
function.pyspark:applymodel
ModelOutputNotSupported Objects
This exception is only raised if the script doesn't invoke the
and setModelContentFromPath
APIs in the
setModelContentFromString
function.pyspark:buildmodel
ASContextException Objects
This exception is thrown if an unexpected runtime exception occurs.