Package org.opentcs.data
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:
Serializable
Thrown when an object was supposed to be created or renamed, but another
object with the same ID/name/attributes already exists.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionObjectExistsException
(String message) Creates a new ObjectExistsException with the given detail message.ObjectExistsException
(String message, 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
-
Constructor Details
-
ObjectExistsException
Creates a new ObjectExistsException with the given detail message.- Parameters:
message
- The detail message.
-
ObjectExistsException
Creates a new ObjectExistsException with the given detail message and cause.- Parameters:
message
- The detail message.cause
- The cause.
-