catch print manager exception

Print manager throws an exception which makes it impossible to access the Document element. Exception is now caught and displayed in the GUI.