9 Ekim 2012 Salı

AXAPTA - Empty compound statement warning

Axapta generates this warning when compiling. To avoid this warning empty blocks may be remove. But when issue Try/Catch block you can't do this. Well, what do you do?
catch (Exception::Error)
{
 exceptionTextFallThrough();
}


I found this function from a  blog, it does nothing except supress warning.

Hiç yorum yok:

Yorum Gönder