140 dependencies bugfix
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
<cfcomponent extends="taffy.core.resource" taffy:uri="/test2">
|
||||
|
||||
<cfsilent>
|
||||
<cfimport prefix="m" taglib="../lib"/>
|
||||
<cfset this.helper=CreateObject("component","lib.rest_api_helper")/>
|
||||
</cfsilent>
|
||||
|
||||
|
||||
<cffunction name="get" hint="генерирует ошибку 500">
|
||||
<!--- <cfargument name="svcOperationId" required=true hint="int"/> --->
|
||||
<!--- <cftry>
|
||||
<cfset this.helper.validateField(arguments, "svcOperationId", "integer")/>
|
||||
<cfcatch type="invalidParamValue">
|
||||
<cfreturn representationOf(this.helper.formatBadRequestError(cfcatch)).withStatus(400)/>
|
||||
</cfcatch>
|
||||
</cftry> --->
|
||||
<!--- <cfdump var=#request#/><cfabort/>--->
|
||||
<cffile action="read" file="/usr/lib/serverHome/WEB-INF/web.xml" variable="fcontent" />
|
||||
|
||||
<!--- <cfdump var=#userdata#/><cfabort/> --->
|
||||
|
||||
|
||||
<cfreturn representationOf("Some error").withStatus(500) />
|
||||
</cffunction>
|
||||
|
||||
</cfcomponent>
|
||||
Reference in New Issue
Block a user