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 2006-2008 Sun Microsystems, Inc.
015 * Portions Copyright 2014 ForgeRock AS.
016 */
017package org.opends.server.tools.makeldif;
018
019
020
021
022import org.opends.server.types.IdentifiedException;
023import org.forgerock.i18n.LocalizableMessage;
024
025
026/**
027 * This class defines an exception that can be thrown if a problem occurs during
028 * MakeLDIF processing.
029 */
030public class MakeLDIFException
031       extends IdentifiedException
032{
033  /**
034   * The serial version identifier required to satisfy the compiler because this
035   * class extends <CODE>java.lang.Exception</CODE>, which implements the
036   * <CODE>java.io.Serializable</CODE> interface.  This value was generated
037   * using the <CODE>serialver</CODE> command-line utility included with the
038   * Java SDK.
039   */
040  private static final long serialVersionUID = -918795152848233269L;
041
042
043
044  /**
045   * Creates a new MakeLDIF exception with the provided information.
046   *
047   * @param  message  The message for this exception.
048   */
049  public MakeLDIFException(LocalizableMessage message)
050  {
051    super(message);
052  }
053
054
055
056  /**
057   * Creates a new MakeLDIF exception with the provided information.
058   *
059   * @param  message  The message for this exception.
060   * @param  cause    The underlying cause for this exception.
061   */
062  public MakeLDIFException(LocalizableMessage message, Throwable cause)
063  {
064    super(message, cause);
065  }
066
067}
068