cancel
Showing results for 
Search instead for 
Did you mean: 

UME API - How to get detailed Error Message

Former Member
0 Kudos

Hi all,

I am using UME API to create users. But don't know how can i get detailed error message of the exception. For example: if the password is too short i get PASSWORD_TOO_SHORT. instaead is there any way i can get the user friendly message.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Shyam

I use the below code.

catch (WDUMException e) {

wdComponentAPI.getMessageManager().reportException(e.getMessage());

}

Former Member
0 Kudos

Just to add to Eduardo's answer....

Try this

wdComponentAPI.getMessageManager().raiseException("This is an error because of XYZ reason",true);

here if you choose true it stops the navigation other wise it proceeds the navigation.