MacroException.java

/*
 * Copyright (C) 1998-2018  Gerwin Klein <lsf@jflex.de>
 * SPDX-License-Identifier: BSD-3-Clause
 */

package jflex.exceptions;

/**
 * This Exception is used in the macro expander to report cycles or undefined macro usages.
 *
 * @author Gerwin Klein
 * @version JFlex 1.10.0-SNAPSHOT
 */
public class MacroException extends Exception {

  /** */
  private static final long serialVersionUID = 275266242549067641L;

  /**
   * Creates a new MacroException with the specified message
   *
   * @param message the error description presented to the user.
   */
  public MacroException(String message) {
    super(message);
  }
}