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

Jean-Noel Rouvignac
15.17.2014 6870993d12bf8a2b9d5cd103dc5ccabc42f9bf5d
opendj-config/src/main/java/org/forgerock/opendj/config/client/OperationRejectedException.java
@@ -73,7 +73,7 @@
     */
    private static final long serialVersionUID = 8547688890613079044L;
    // Gets the default message.
    /** Gets the default message. */
    private static LocalizableMessage getDefaultMessage(Collection<LocalizableMessage> messages) {
        Reject.ifNull(messages);
        Reject.ifFalse(!messages.isEmpty(), "Messages should not be empty");
@@ -85,7 +85,7 @@
        }
    }
    // Merge the messages into a single message.
    /** Merge the messages into a single message. */
    private static LocalizableMessage getSingleMessage(Collection<LocalizableMessage> messages) {
        if (messages.size() == 1) {
            return messages.iterator().next();
@@ -105,14 +105,16 @@
        }
    }
    // The messages describing the constraint violations that occurred.
    /** The messages describing the constraint violations that occurred. */
    private final Collection<LocalizableMessage> messages;
    // The type of operation that caused this exception.
    /** The type of operation that caused this exception. */
    private final OperationType type;
    // The user friendly name of the component that caused this
    // exception.
    /**
     * The user friendly name of the component that caused this
     * exception.
     */
    private final LocalizableMessage ufn;
    /**