/*
 * Decompiled with CFR 0_110.
 * 
 * Could not load the following classes:
 *  java.lang.IllegalArgumentException
 *  java.lang.String
 *  java.lang.StringBuffer
 */
package org.dom4j;

import org.dom4j.Branch;
import org.dom4j.Element;
import org.dom4j.Node;

public class IllegalAddException
extends IllegalArgumentException {
    public IllegalAddException(String string2) {
        super(string2);
    }

    public IllegalAddException(Branch branch, Node node, String string2) {
        super(new StringBuffer().append("The node \"").append(node.toString()).append("\" could not be added to the branch \"").append(branch.getName()).append("\" because: ").append(string2).toString());
    }

    public IllegalAddException(Element element, Node node, String string2) {
        super(new StringBuffer().append("The node \"").append(node.toString()).append("\" could not be added to the element \"").append(element.getQualifiedName()).append("\" because: ").append(string2).toString());
    }
}

