Error message of ServiceException is only in log file....
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.