How do I get a descriptive error message from Active Directory ChangePassword()?

GaryHoff used Ask the Experts™
When i call  ActiveDs.IADsUser.ChangePassword() with valid parameters, it works fine.

When i call it with bad old or new password I get an exception with the error message of:
"A constraint violation occurred. (Exception from HRESULT: 0x8007202F)", and it seems to be the same no matter what the error condition (wrong old password, or new too short)
How do I get a better error message?
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Most Valuable Expert 2012
Top Expert 2008
I believe that you won't be able to get a "better error message", and that is unfortunate--you get what you get in this case...

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial