com.spss.psapi.transform

Class ExportFormatException

  • All Implemented Interfaces:
    java.io.Serializable


    public class ExportFormatException
    extends PredictiveServerException
    Indicates that an attempt was made to export a built object using an unsupported file format.
    Since:
    PSAPI 1.0
    Author:
    Robert Duncan
    See Also:
    Serialized Form
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      FileFormat getFileFormat()
      Returns the unsupported export format.
      BuiltObject getObject()
      Deprecated.  
      PropertiedObject getPropertiedObject()
      Returns the object that was being exported.
      • 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

      • ExportFormatException

        public ExportFormatException(java.lang.String message,
                             PropertiedObject object,
                             FileFormat fileFormat)
        Constructs an ExportFormatException. The following relationship is assumed of the parameters:
        !object.isExportable(fileFormat)
        Parameters:
        message - the message
        object - the built object
        fileFormat - the unsupported format
        Since:
        PSAPI 16.0
      • ExportFormatException

        public ExportFormatException(PropertiedObject object,
                             FileFormat fileFormat)
        Deprecated. 
        Constructs an ExportFormatException. The following relationship is assumed of the parameters:
        !object.isExportable(fileFormat)
        Parameters:
        object - the built object
        fileFormat - the unsupported format
    • Method Detail

      • getObject

        public BuiltObject getObject()
        Deprecated. 
        Returns the built object or null if this exception was constructed by something other than a built object.
        Returns:
        the built object
        See Also:
        getPropertiedObject()
      • getPropertiedObject

        public PropertiedObject getPropertiedObject()
        Returns the object that was being exported.
        Returns:
        the object being exported.
        Since:
        PSAPI 17.0
      • getFileFormat

        public FileFormat getFileFormat()
        Returns the unsupported export format.
        Returns:
        the export format

Copyright © 2014 Integral Solutions Ltd. All Rights Reserved.