mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

matthew_swift
18.50.2007 7ecc0e85d3be3f47f5de1a4aa9a09ebb966081e5
Use the cause's message as the message for the admin client exception rather than the default implementation which contains the cause's class name as well (this is the correct behavior because admin client exceptions are supposed to "adapt" underlying impl exceptions, so they should use the adapted exception's message).
1 files modified
2 ■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/admin/client/AdminClientException.java 2 ●●● patch | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/admin/client/AdminClientException.java
@@ -67,7 +67,7 @@
   *          The cause.
   */
  public AdminClientException(Throwable cause) {
    super(cause);
    super(cause.getMessage(), cause);
  }