com.spss.psapi.extensions.common

Class DataProviderException

  • All Implemented Interfaces:
    java.io.Serializable


    public class DataProviderException
    extends ExtensionException
    Indicates a diagnostic fault occurred during output data model computation of an extension. This exception is provided to allow data model computation for extensions to behave in a similar manner to native modeler nodes. Computation should not fail out right. If the node encounters an error whilst computing the data model it should report it as a diagnostic error. This marks the node as invalid, and so prevents execution. It should still return its best attempt of the node's data model. This exception enables the above behaviour. The extension may use this exception to report one or more diagnostic errors during data model computation and return the partial data model.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      DataProviderException()
      Creates a DataProviderException instance
      DataProviderException(int severity, java.lang.String detail, DataModel dataModel)
      Creates a DataProviderException instance with one diagnostic entry and a data model
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      DataModel getDataModel()
      Gets the data model
      void setDataModel(DataModel dataModel)
      Sets the data model
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DataProviderException

        public DataProviderException(int severity,
                             java.lang.String detail,
                             DataModel dataModel)
        Creates a DataProviderException instance with one diagnostic entry and a data model
      • DataProviderException

        public DataProviderException()
        Creates a DataProviderException instance
    • Method Detail

      • setDataModel

        public void setDataModel(DataModel dataModel)
        Sets the data model
        Parameters:
        dataModel -
      • getDataModel

        public DataModel getDataModel()
        Gets the data model
        Returns:
        the data model

Copyright © 2014 Integral Solutions Ltd. All Rights Reserved.