Class ScriptAlreadyExists

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.kobe.xbot.Utilities.Exceptions.ScriptAlreadyExists
All Implemented Interfaces:
Serializable

public class ScriptAlreadyExists extends RuntimeException
Exception thrown when a script already exists in the system. This exception is used to indicate that an attempt to create or register a script has failed because a script with the same identifier or name already exists.

Author: Kobe

See Also:
  • Constructor Details

    • ScriptAlreadyExists

      public ScriptAlreadyExists()
      Constructs a new exception with null as its detail message. The cause is not initialized and may be subsequently initialized by a call to Throwable.initCause(java.lang.Throwable).
    • ScriptAlreadyExists

      public ScriptAlreadyExists(String message)
      Constructs a new exception with the specified detail message. The cause is not initialized and may be subsequently initialized by a call to Throwable.initCause(java.lang.Throwable).
      Parameters:
      message - The detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.
    • ScriptAlreadyExists

      public ScriptAlreadyExists(String message, Throwable cause)
      Constructs a new exception with the specified detail message and cause.
      Parameters:
      message - The detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.
      cause - The cause (which is saved for later retrieval by the Throwable.getCause() method). A null value is permitted, and indicates that the cause is nonexistent or unknown.
    • ScriptAlreadyExists

      public ScriptAlreadyExists(Throwable cause)
      Constructs a new exception with the specified cause and a detail message of (cause == null ? null : cause.toString()) (which typically contains the class and detail message of cause).
      Parameters:
      cause - The cause (which is saved for later retrieval by the Throwable.getCause() method). A null value is permitted, and indicates that the cause is nonexistent or unknown.