Fix for Issue #3766 : dsconfig : when using composition, error message refers to parent instead of child
| | |
| | | * CDDL HEADER END |
| | | * |
| | | * |
| | | * Copyright 2007-2008 Sun Microsystems, Inc. |
| | | * Copyright 2007-2009 Sun Microsystems, Inc. |
| | | */ |
| | | package org.opends.server.tools.dsconfig; |
| | | |
| | |
| | | throw new ClientException(LDAPResultCode.CONSTRAINT_VIOLATION, msg); |
| | | } catch (ManagedObjectNotFoundException e) { |
| | | throw ArgumentExceptionFactory.unknownValueForChildComponent( |
| | | "\"" + names.get(0) + "\""); |
| | | "\"" + names.get(names.size()-1) + "\""); |
| | | } |
| | | |
| | | if (result.isQuit()) { |