Hi All
I am using DCO 6.6, I have a requirement as below.
After installation of DCO client we get option called ‘Create folder’ to creation a folder in MS outlook. But we have a requirement as only the users who are in ‘dare-sp-folder-creator’ role should able to create a folder, otherwise it should custom exception as ‘This user is not in that particular role’.
I am throwing exception from doSave() of my TBO as below:
Protected void doSave(Boolean arg0, String arg1, Object[] arg2) throws DfExcepiton {
If (some condition){
//DfLogger.warn(this, session.getLoginUserName() + " This user not belongs to dare-sp-folder-creator Role", null, null);
throw new DfException(session.getLoginUserName() +" This user not belongs to dare-sp-folder-creator Role.");
}
}
Webtop client is showing above motioned custom exception when the user is trying to create folder who is not from ‘dare-sp-folder-creator’ role. But DCO client is showing as ‘INTERNAL _SERVER_ERROE’ . but above mentioned exception is occurring in application server (JBOSS 4.2.0).
I have gone through all the documentation of DCO, nowhere mentioned about how DCO client can get custom exception from application server.
Any on having an idea. Please try to give the solution.
Thanks & Regards
sridhar