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

matthew_swift
04.58.2007 14a40dbce238e0f411e927c32844a562a2a12b8a
Fix typo that prevented server-side error messages from being displayed in the client.
2 files modified
6 ■■■■ changed files
opends/src/server/org/opends/server/admin/client/ldap/LDAPDriver.java 2 ●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/admin/client/ldap/LDAPManagedObject.java 4 ●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/admin/client/ldap/LDAPDriver.java
@@ -346,7 +346,7 @@
      connection.deleteSubtree(dn);
    } catch (OperationNotSupportedException e) {
      // Unwilling to perform.
      if (e.getMessage() != null) {
      if (e.getMessage() == null) {
        throw new OperationRejectedException();
      } else {
        Message m = Message.raw("%s", e.getMessage());
opends/src/server/org/opends/server/admin/client/ldap/LDAPManagedObject.java
@@ -159,7 +159,7 @@
          driver.getLDAPConnection().createEntry(dn, attributes);
        } catch (OperationNotSupportedException e) {
          // Unwilling to perform.
          if (e.getMessage() != null) {
          if (e.getMessage() == null) {
            throw new OperationRejectedException();
          } else {
            Message m = Message.raw("%s", e.getMessage());
@@ -262,7 +262,7 @@
        throw new AuthorizationException(e);
      } catch (OperationNotSupportedException e) {
        // Unwilling to perform.
        if (e.getMessage() != null) {
        if (e.getMessage() == null) {
          throw new OperationRejectedException();
        } else {
          Message m = Message.raw("%s", e.getMessage());