Chapter 18: Building Custom CFAPI Tags
295
pRequest->ReThrowException( e ) ;
}
// Catch ALL other exceptions and throw them as
// Cold Fusion exceptions (DO NOT REMOVE! --
// this prevents the server from crashing in
// case of an unexpected exception)
catch( ... )
{
pRequest->ThrowException(
"Error occurred in tag CFX_FOO2",
"Unexpected error occurred while processing tag." ) ;
}
}
CCFXQuery Class
Abstract class that represents a query used or created by a ColdFusion Extension
(CFX). Queries contain 1 or more columns of data that extend over a varying number of
rows.
Class members
virtual int AddRow()
CCFXQuery::AddRow
adds a new row to the query.
virtual CCFXStringSet* GetColumns
CCFXQuery::GetColumns
retrieves a list of the query’s column names.
virtual LPCSTR GetData( int iRow, int iColumn )
CCFXQuery::GetData
retrieves a data element from a row and column of the
query.
virtual LPCSTR GetName()
CCFXQuery::GetName
retrieves the name of the query.
virtual int GetRowCount()
CCFXQuery::GetRowCount
retrieves the number of rows in the query.
virtual void SetData( int iRow, int iColumn, LPCSTR lpszData )
CCFXQuery::SetData
sets a data element within a row and column of the query.
virtual void SetQueryString( LPCSTR lpszQuery )
CCFXQuery::SetQueryString
sets the query string that will displayed along with
query debug output.
virtual void SetTotalTime( DWORD dwMilliseconds )
CCFXQuery::SetTotalTime
sets the total time that was required to process the
query (used for debug output).
Summary of Contents for COLDFUSION 4.5-DEVELOPING WEB
Page 1: ...Allaire Corporation Developing Web Applications with ColdFusion ColdFusion 4 5...
Page 14: ...xiv Developing Web Applications with ColdFusion...
Page 26: ...xxvi Developing Web Applications with ColdFusion...
Page 34: ...8 Developing Web Applications with ColdFusion...
Page 70: ...44 Developing Web Applications with ColdFusion...
Page 84: ...58 Developing Web Applications with ColdFusion...
Page 114: ...88 Developing Web Applications with ColdFusion...
Page 148: ...122 Developing Web Applications with ColdFusion...
Page 174: ...148 Developing Web Applications with ColdFusion...
Page 208: ...182 Developing Web Applications with ColdFusion...
Page 244: ...218 Developing Web Applications with ColdFusion...
Page 274: ...248 Developing Web Applications with ColdFusion...
Page 288: ...262 Developing Web Applications with ColdFusion...
Page 300: ...274 Developing Web Applications with ColdFusion...
Page 350: ...324 Developing Web Applications with ColdFusion...
Page 362: ...336 Developing Web Applications with ColdFusion...