PFC/WFC Exceptions
The PFC/WFC exceptions are thrown by the classes that make up Creo Object TOOLKIT C++’s public interface. The following table describes these exceptions.
Exception
Purpose
pfcXBadExternalData
Indicates an attempt to read contents of an external data object which has been terminated.
pfcXBadGetArgValue
Indicates an attempt to read the wrong type of data from the ArgValue union.
pfcXBadGetExternalData
Indicates an attempt to read the wrong type of data from the ExternalData union.
pfcXBadGetParamValue
Indicates an attempt to read the wrong type of data from the ParamValue union.
pfcXBadOutlineExcludeType
Indicates that an invalid type of item was passed to the outline calculation method.
pfcXCancelProEAction
This exception type will not be thrown by Creo Object TOOLKIT C++ methods, but you may instantiate and throw this from certain ActionListener methods to cancel the corresponding action in the Creo application.
pfcXCannotAccess
Indicates that the contents of a Creo Object TOOLKIT C++ object cannot be accessed in this situation.
pfcXEmptyString
Indicates an empty string was passed to a method that does not accept this type of input.
pfcXInvalidEnumValue
Indicates an invalid value for a specified enumeration class.
pfcXInvalidFileName
Indicates that a file name passed to a method was incorrectly structured.
pfcXInvalidFileType
Indicates a model descriptor contained an invalid file type for a requested operation.
pfcXInvalidModelItem
Indicates that the item requested to be used is no longer usable (for example, it may have been deleted).
pfcXInvalidSelection
Indicates that the selection passed is invalid or is missing a needed piece of information. For example, its component path, drawing view, or parameters.
pfcXModelNotInSession
Indicates that the model is no longer in session; it may have been erased or deleted.
pfcXNegativeNumber
Numeric argument was negative.
pfcXNumberTooLarge
Numeric argument was too large.
pfcXProEWasNotConnected
The Creo session is not available so the operation failed.
pfcXSequenceTooLong
Indicates that the sequence argument was too long.
pfcXStringTooLong
Indicates that the string argument was too long.
pfcXUnimplemented
Indicates unimplemented method.
pfcXUnknownModelExtension
Indicates that a file extension does not match a known Creo model type.
Was this helpful?