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

org.opentcs.data.ObjectExistsException Maven / Gradle / Ivy

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

import org.opentcs.access.KernelRuntimeException;

/**
 * Thrown when an object was supposed to be created or renamed, but another
 * object with the same ID/name/attributes already exists.
 */
public class ObjectExistsException
    extends
      KernelRuntimeException {

  /**
   * Creates a new ObjectExistsException with the given detail message.
   *
   * @param message The detail message.
   */
  public ObjectExistsException(String message) {
    super(message);
  }

  /**
   * Creates a new ObjectExistsException with the given detail message and
   * cause.
   *
   * @param message The detail message.
   * @param cause The cause.
   */
  public ObjectExistsException(String message, Throwable cause) {
    super(message, cause);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy