notice PdfError, try to grasp c++ exception handling