I am having a Webservice which Invoke ChangeUserPassword Mbean. When I try to pass a Incorrect Old password as part of validation I am getting the below exception,
javax.management.MBeanException: MBean invoke failed: weblogic.management.utils.InvalidParameterException: [Security:090237]Validation of old password failed.
I want catch this exception exactly and return a message as "Incorrect Old Password".
I am new to Java. Any help would be greatly appreciated.