2362N/A * Copyright (c) 1999, 2000, Oracle and/or its affiliates. All rights reserved. 0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 0N/A * This code is free software; you can redistribute it and/or modify it 0N/A * under the terms of the GNU General Public License version 2 only, as 2362N/A * published by the Free Software Foundation. Oracle designates this 0N/A * particular file as subject to the "Classpath" exception as provided 2362N/A * by Oracle in the LICENSE file that accompanied this code. 0N/A * This code is distributed in the hope that it will be useful, but WITHOUT 0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 0N/A * version 2 for more details (a copy is included in the LICENSE file that 0N/A * accompanied this code). 0N/A * You should have received a copy of the GNU General Public License version 0N/A * 2 along with this work; if not, write to the Free Software Foundation, 0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 2362N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 2362N/A * or visit www.oracle.com if you need additional information or have any 0N/A * This exception is thrown when an attempt is 0N/A * made to add, or remove, or modify an attribute, its identifier, 0N/A * or its values that conflicts with the attribute's (schema) definition 0N/A * or the attribute's state. 0N/A * It is thrown in response to DirContext.modifyAttributes(). 0N/A * It contains a list of modifications that have not been performed, in the 0N/A * order that they were supplied to modifyAttributes(). 0N/A * If the list is null, none of the modifications were performed successfully. 0N/A * An AttributeModificationException instance is not synchronized 0N/A * against concurrent multithreaded access. Multiple threads trying 0N/A * to access and modify a single AttributeModification instance 0N/A * should lock the object. 0N/A * @author Rosanna Lee 0N/A * @author Scott Seligman 0N/A * @see DirContext#modifyAttributes 0N/A * The serialized form of an AttributeModificationException object 0N/A * consists of the serialized fields of its NamingException 0N/A * superclass, followed by an array of ModificationItem objects. 0N/A * Contains the possibly null list of unexecuted modifications. 0N/A * Constructs a new instance of AttributeModificationException using 0N/A * an explanation. All other fields are set to null. 0N/A * @param explanation Possibly null additional detail about this exception. 0N/A * If null, this exception has no detail message. 0N/A * @see java.lang.Throwable#getMessage 0N/A * Constructs a new instance of AttributeModificationException. 0N/A * All fields are set to null. 0N/A * Sets the unexecuted modification list to be e. 0N/A * Items in the list must appear in the same order in which they were 0N/A * originally supplied in DirContext.modifyAttributes(). 0N/A * The first item in the list is the first one that was not executed. 0N/A * If this list is null, none of the operations originally submitted 0N/A * to modifyAttributes() were executed. 0N/A * @param e The possibly null list of unexecuted modifications. 0N/A * @see #getUnexecutedModifications 0N/A * Retrieves the unexecuted modification list. 0N/A * Items in the list appear in the same order in which they were 0N/A * originally supplied in DirContext.modifyAttributes(). 0N/A * The first item in the list is the first one that was not executed. 0N/A * If this list is null, none of the operations originally submitted 0N/A * to modifyAttributes() were executed. 0N/A * @return The possibly null unexecuted modification list. 0N/A * @see #setUnexecutedModifications 0N/A * The string representation of this exception consists of 0N/A * information about where the error occurred, and 0N/A * the first unexecuted modification. 0N/A * This string is meant for debugging and not mean to be interpreted 0N/A * @return The non-null string representation of this exception. 0N/A orig += (
"First unexecuted modification: " +
0N/A * Use serialVersionUID from JNDI 1.1.1 for interoperability