User Guide

CCFXException class 751
CCFXException class
An abstract class that represents an exception thrown during processing of a ColdFusion
Extension (CFX) procedure.
Exceptions of this type can be thrown by
CCFXRequest class, CCFXQuery class, and
CCFXStringSet class. Your ColdFusion Extension code must be written to handle exceptions
of this type. For more information, see
CCFXRequest::ThrowException and
CCFXRequest::ReThrowException.
Class members
CCFXException::GetError
Description
Provides basic user output for exceptions that occur during processing.
CCFXException::GetDiagnostics
Description
Provides detailed user output for exception that occur during processing.
Example
This code block shows how GetError and GetDiagnostics work with ThrowException and
ReThrowException.
virtual LPCSTR GetError()
The CCFXException::GetError function returns a
general error message.
virtual LPCSTR GetDiagnostics()
The CCFXException::GetDiagnostics function returns
detailed error information.