Expand my Community achievements bar.

Catch all exception of service sendToPrinter

Avatar

Level 4

Dear all,

I have a process which use sendToPrinter service for some auto-print out, and this process will stall once and awhile.

Because the user will reprint while failed, so I would like to ignore the error by catch all the exception and prevent the process form stall.

There are 2 type of exception "com.adobe.livecycle.output.exception.OutputException" and "SYSTEM EXCEPTION" available for me to catch in the process and I catch both, but the process still continue stall.

Would like to know how can I catch all the available exception and prevent the process stall completed.

Thanks in advance

Regards

Bill

3 Replies

Avatar

Level 4

Hi,

Understand this maybe not possible, can someone please confirm the possibility?

Regards

Bill

Avatar

Level 3

If you have caught the two exceptions and it still stalls at that place, then there is no other way to handle that particular exception.

Avatar

Level 4

Hi Vikas,

Thanks for help confirming that.

Regards

Bill