3853N/A/*
3853N/A * CDDL HEADER START
3853N/A *
3853N/A * The contents of this file are subject to the terms of the
3853N/A * Common Development and Distribution License, Version 1.0 only
3853N/A * (the "License"). You may not use this file except in compliance
3853N/A * with the License.
3853N/A *
3853N/A * You can obtain a copy of the license at
3853N/A * trunk/opends/resource/legal-notices/OpenDS.LICENSE
3853N/A * or https://OpenDS.dev.java.net/OpenDS.LICENSE.
3853N/A * See the License for the specific language governing permissions
3853N/A * and limitations under the License.
3853N/A *
3853N/A * When distributing Covered Code, include this CDDL HEADER in each
3853N/A * file and include the License file at
3853N/A * trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
3853N/A * add the following below this CDDL HEADER, with the fields enclosed
3853N/A * by brackets "[]" replaced with your own identifying information:
3853N/A * Portions Copyright [yyyy] [name of copyright owner]
3853N/A *
3853N/A * CDDL HEADER END
3853N/A *
3853N/A *
3853N/A * Copyright 2008 Sun Microsystems, Inc.
3853N/A */
3853N/A
3853N/Apackage org.opends.guitools.controlpanel.task;
3853N/A
3853N/Aimport org.opends.messages.Message;
3853N/Aimport org.opends.server.types.OpenDsException;
3853N/A
3853N/A/**
3853N/A * Exception throw when there is an error updating the configuration online
3853N/A * (in general is used as a wrapper when we get a NamingException).
3853N/A *
3853N/A */
3853N/Apublic class OnlineUpdateException extends OpenDsException
3853N/A{
3853N/A
3853N/A private static final long serialVersionUID = 2594845362087209988L;
3853N/A
3853N/A /**
3853N/A * Creates an exception with a message.
3853N/A * @param msg the message.
3853N/A */
3853N/A public OnlineUpdateException(Message msg)
3853N/A {
3853N/A super(msg);
3853N/A }
3853N/A
3853N/A /**
3853N/A * Creates an exception with a message and a root cause.
3853N/A * @param msg the message.
3853N/A * @param rootCause the root cause.
3853N/A */
3853N/A public OnlineUpdateException(Message msg, Throwable rootCause)
3853N/A {
3853N/A super(msg, rootCause);
3853N/A }
3853N/A}