Learning ColdFusion 8: OnMissingMethod() Event Handler

<cffunction
	name="OnMissingMethod"
	access="public"
	returntype="any"
	output="false"
	hint="Handles missing method exceptions.">
 
	<!--- Define arguments. --->
	<cfargument
		name="MissingMethodName"
		type="string"
		required="true"
		hint="The name of the missing method."
		/>
 
	<cfargument
		name="MissingMethodArguments"
		type="struct"
		required="true"
		hint="The arguments that were passed to the missing method. This might be a named argument set or a numerically indexed set."
		/>
 
	<!--- Dump out the arguments. --->
	<cfdump
		var="#ARGUMENTS#"
		label="Missing Method Arguments"
		/>
 
	<cfabort />
 
	<!--- Return out. --->
	<cfreturn />
</cffunction>

For Cut-and-Paste