Skip to Main Content

Security Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

How to set error msg on Error Details tab of a failed Scheduled Job?

user552098Jul 12 2012 — edited Jul 16 2012
I have a Scheduled Task. If the Scheduled job fails due to some exception, the job will stop with a Status of Failed and the Execution Status shows: java.lang.NullPointerException. However, that is not the exception that was actually caught. Also, I need to be able to set a custom error message on the Show Error Details Tab of the failed job. I've tried composing my own error message and throwing a new Exception back to OIM with that custom error, but this never shows up on the Show Error Details display window.

Is there a way to display a custom error message on the Show Error Details tab of a failed Scheduled Job? Without this capability there is no way to indicate the information I need to allow the support team to know what the problem was.

Thank you for any suggestions.
-Dave Herrmann

Edited by: user552098 on Jul 12, 2012 12:17 PM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 13 2012
Added on Jul 12 2012
11 comments
495 views