ScreenCapture Exception handling