public PacketError(Element element) { this.element = element;
public PacketError(Condition condition) { this.element = docFactory.createElement("error"); setCondition(condition); setType(condition.getDefaultType());
    public PacketError(Element element) {        this.element = element;    }