public class ExportFormatException extends PredictiveServerException
Constructor and Description |
---|
ExportFormatException(PropertiedObject object,
FileFormat fileFormat)
Deprecated.
|
ExportFormatException(java.lang.String message,
PropertiedObject object,
FileFormat fileFormat)
Constructs an
ExportFormatException . |
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.
|
public ExportFormatException(java.lang.String message, PropertiedObject object, FileFormat fileFormat)
ExportFormatException
. The following
relationship is assumed of the parameters:
!object.isExportable(fileFormat)
message
- the messageobject
- the built objectfileFormat
- the unsupported formatpublic ExportFormatException(PropertiedObject object, FileFormat fileFormat)
ExportFormatException
. The following
relationship is assumed of the parameters:
!object.isExportable(fileFormat)
object
- the built objectfileFormat
- the unsupported formatpublic BuiltObject getObject()
null
if this exception was constructed
by something other than a built object.getPropertiedObject()
public PropertiedObject getPropertiedObject()
public FileFormat getFileFormat()
(C) Copyright IBM Corp. 1994, 2015. All Rights Reserved.