SlotOptionsException.java

  1. /*
  2.  * #%L
  3.  * This file is part of jFold.
  4.  * %%
  5.  * Copyright (C) 2012 - 2024 Mike Thomas <mikepthomas@outlook.com>
  6.  * %%
  7.  * jFold is free software: you can redistribute it and/or modify
  8.  * it under the terms of the GNU General Public License as published by
  9.  * the Free Software Foundation, either version 3 of the License, or
  10.  * (at your option) any later version.
  11.  * %
  12.  * jFold is distributed in the hope that it will be useful,
  13.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15.  * GNU General Public License for more details.
  16.  * %
  17.  * You should have received a copy of the GNU General Public License
  18.  * along with jFold.  If not, see <http://www.gnu.org/licenses/>.
  19.  * #L%
  20.  */

  21. package info.mikethomas.jfold.exceptions;

  22. import jakarta.xml.bind.annotation.XmlRootElement;

  23. import lombok.NoArgsConstructor;

  24. /**
  25.  * <p>SlotOptionsException class.</p>
  26.  *
  27.  * @author Michael Thomas (mikepthomas@outlook.com)
  28.  * @version 7.6.21
  29.  */
  30. @NoArgsConstructor
  31. @XmlRootElement(name = "SlotOptionsException")
  32. public class SlotOptionsException extends CommandException {

  33.     /**
  34.      * Constructs an instance of <code>SlotOptionsException</code> with the
  35.      * specified detail message.
  36.      *
  37.      * @param message the detail message.
  38.      */
  39.     public SlotOptionsException(final String message) {
  40.         super(message);
  41.     }

  42.     /**
  43.      * Constructs an instance of <code>SlotOptionsException</code> with the
  44.      * specified detail message and the cause of the Exception.
  45.      *
  46.      * @param message the detail message.
  47.      * @param cause the cause of the exception.
  48.      */
  49.     public SlotOptionsException(final String message, final Throwable cause) {
  50.         super(message, cause);
  51.     }
  52. }