All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.opentcs.configuration.ConfigurationException Maven / Gradle / Ivy

// SPDX-FileCopyrightText: The openTCS Authors
// SPDX-License-Identifier: MIT
package org.opentcs.configuration;

/**
 * Thrown when a configuration error occured.
 */
public class ConfigurationException
    extends
      RuntimeException {

  /**
   * Constructs a new instance with no detail message.
   */
  public ConfigurationException() {
  }

  /**
   * Constructs a new instance with the specified detail message.
   *
   * @param message The detail message.
   */
  public ConfigurationException(String message) {
    super(message);
  }

  /**
   * Constructs a new instance with the specified detail message and cause.
   *
   * @param message The detail message.
   * @param cause The exception's cause.
   */
  public ConfigurationException(String message, Throwable cause) {
    super(message, cause);
  }

  /**
   * Constructs a new instance with the specified cause and a detail
   * message of (cause == null ? null : cause.toString()) (which
   * typically contains the class and detail message of cause).
   *
   * @param cause The exception's cause.
   */
  public ConfigurationException(Throwable cause) {
    super(cause);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy