1 Reply Latest reply: Aug 3, 2012 4:10 AM by GJ RSS

    Need help in Handling Exception.

    GJ
      Hi All,

      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.

      Thanks,
      GJ