001/*
002 * CDDL HEADER START
003 *
004 * The contents of this file are subject to the terms of the
005 * Common Development and Distribution License, Version 1.0 only
006 * (the "License").  You may not use this file except in compliance
007 * with the License.
008 *
009 * You can obtain a copy of the license at legal-notices/CDDLv1_0.txt
010 * or http://forgerock.org/license/CDDLv1.0.html.
011 * See the License for the specific language governing permissions
012 * and limitations under the License.
013 *
014 * When distributing Covered Code, include this CDDL HEADER in each
015 * file and include the License file at legal-notices/CDDLv1_0.txt.
016 * If applicable, add the following below this CDDL HEADER, with the
017 * fields enclosed by brackets "[]" replaced with your own identifying
018 * information:
019 *      Portions Copyright [yyyy] [name of copyright owner]
020 *
021 * CDDL HEADER END
022 *
023 *
024 *      Copyright 2008 Sun Microsystems, Inc.
025 */
026package org.forgerock.opendj.config.client;
027
028import org.forgerock.i18n.LocalizableMessage;
029import org.forgerock.opendj.config.AdminException;
030
031/**
032 * Administration client exceptions represent non-operational problems which
033 * occur whilst interacting with the administration framework. They provide
034 * clients with a transport independent interface for handling transport related
035 * exceptions.
036 * <p>
037 * Client exceptions represent communications problems, security problems, and
038 * service related problems.
039 */
040public abstract class AdminClientException extends AdminException {
041
042    /**
043     * Serialization ID.
044     */
045    private static final long serialVersionUID = 4044747533980824456L;
046
047    /**
048     * Create an administration client exception with a message and cause.
049     *
050     * @param message
051     *            The message.
052     * @param cause
053     *            The cause.
054     */
055    protected AdminClientException(LocalizableMessage message, Throwable cause) {
056        super(message, cause);
057    }
058
059    /**
060     * Create an administration client exception with a message.
061     *
062     * @param message
063     *            The message.
064     */
065    protected AdminClientException(LocalizableMessage message) {
066        super(message);
067    }
068}