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 */ 016package org.forgerock.opendj.config.client; 017 018import org.forgerock.i18n.LocalizableMessage; 019import org.forgerock.opendj.config.AdminException; 020 021/** 022 * Administration client exceptions represent non-operational problems which 023 * occur whilst interacting with the administration framework. They provide 024 * clients with a transport independent interface for handling transport related 025 * exceptions. 026 * <p> 027 * Client exceptions represent communications problems, security problems, and 028 * service related problems. 029 */ 030public abstract class AdminClientException extends AdminException { 031 032 /** 033 * Serialization ID. 034 */ 035 private static final long serialVersionUID = 4044747533980824456L; 036 037 /** 038 * Create an administration client exception with a message and cause. 039 * 040 * @param message 041 * The message. 042 * @param cause 043 * The cause. 044 */ 045 protected AdminClientException(LocalizableMessage message, Throwable cause) { 046 super(message, cause); 047 } 048 049 /** 050 * Create an administration client exception with a message. 051 * 052 * @param message 053 * The message. 054 */ 055 protected AdminClientException(LocalizableMessage message) { 056 super(message); 057 } 058}