Oracle WebCenter Content (MOSC)

MOSC Banner

Error message of ServiceException is only in log file....

edited Sep 17, 2012 10:16PM in Oracle WebCenter Content (MOSC) 2 commentsAnswered ✓
Hello,

I have developed a filter component before delete and want to display a error message on the ucm page. For example : "you are not allowed to delete this file because...."

In the java code for that case I raise a ServiceException() with my message :

throw new ServiceException("You are not allowed.....");

But when the user try to delete a file that he is not allowed to delete, the error message on the page is :

Unable to execute DELETE_REV service and computeDeleteSecurity function.
The error is due to an internally problem. The error is in the log file.

And I can see my message in the log.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center