An abstract class that represents an exception thrown during processing of a ColdFusion Extension (CFX) procedure.
The CCFXRequest class, CCFXQuery class, and CCFXStringSet class can throw exceptions of this type. Your ColdFusion Extension code must be written to handle exceptions of this type.
virtual LPCSTR GetError() |
The :GetError function returns a general error message. |
virtual LPCSTR GetDiagnostics() |
The :GetDiagnostics function returns detailed error information. |
Provides basic user output for exceptions that occur during processing.
Provides detailed user output for exception that occur during processing.
This code block shows how GetError and GetDiagnostics work with ThrowException and ReThrowException.
// Write output back to the user here... |
Sign in to your account