Quantcast
Channel: Dynamics AX
Viewing all articles
Browse latest Browse all 550

Exception handling in AX / Try catch throw in AX

$
0
0
public boolean createExcelApp()
{
boolean ret = true;
;
try
{
sysExcelApplication = SysExcelApplication::construct();
if (sysExcelApplication == null)
{
ret = false;
throw Exception::Error;
}
}
catch (Exception::Error)
{
error("@SYS59928");
}
return ret;
}

Viewing all articles
Browse latest Browse all 550