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