ad_exception (public)

 ad_exception errorCode

Defined in packages/acs-tcl/tcl/exception-procs.tcl

Parameters:
errorCode
Returns:
ad_exception value or empty, in case the exception had other causes
Author:
gustaf.neumann@wu-wien.ac.at
Created:
2015-12-31 Check if the exception was caused by ad_raise (i.e. was an OpenACS exception)

Partial Call Graph (max 5 caller/called nodes):
%3 test_ad_raise_exception ad_raise_exception (test acs-tcl) ad_exception ad_exception test_ad_raise_exception->ad_exception ad_page_contract ad_page_contract (public) ad_page_contract->ad_exception

Testcases:
ad_raise_exception
Source code:
    lassign $errorCode flag type value
    if {$flag eq "AD" && $type eq "EXCEPTION"} {
        return $value
    }
    return ""
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: