WDokuman try-catch