Class ObjectExistsException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.opentcs.access.KernelRuntimeException
org.opentcs.data.ObjectExistsException
All Implemented Interfaces:
java.io.Serializable

public class ObjectExistsException
extends KernelRuntimeException
Thrown when an object was supposed to be created or renamed, but another object with the same ID/name/attributes already exists.
See Also:
Serialized Form
  • Constructor Summary

    Constructors 
    Constructor Description
    ObjectExistsException​(java.lang.String message)
    Creates a new ObjectExistsException with the given detail message.
    ObjectExistsException​(java.lang.String message, java.lang.Throwable cause)
    Creates a new ObjectExistsException with the given detail message and cause.
  • Method Summary

    Methods inherited from class java.lang.Throwable

    addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ObjectExistsException

      public ObjectExistsException​(java.lang.String message)
      Creates a new ObjectExistsException with the given detail message.
      Parameters:
      message - The detail message.
    • ObjectExistsException

      public ObjectExistsException​(java.lang.String message, java.lang.Throwable cause)
      Creates a new ObjectExistsException with the given detail message and cause.
      Parameters:
      message - The detail message.
      cause - The cause.