Package org.apache.gravitino.exceptions
Class JobTemplateAlreadyExistsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.gravitino.exceptions.GravitinoRuntimeException
org.apache.gravitino.exceptions.AlreadyExistsException
org.apache.gravitino.exceptions.JobTemplateAlreadyExistsException
- All Implemented Interfaces:
Serializable
An exception thrown when a job template with the specified name already exists. This exception is
typically used to indicate that a requested job template cannot be created because it already
exists in the system.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionJobTemplateAlreadyExistsException
(String message, Object... args) Constructs a new exception with the specified detail message.JobTemplateAlreadyExistsException
(Throwable cause, String message, Object... args) Constructs a new exception with the specified 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
-
JobTemplateAlreadyExistsException
@FormatMethod public JobTemplateAlreadyExistsException(@FormatString String message, Object... args) Constructs a new exception with the specified detail message.- Parameters:
message
- the detail message.args
- the arguments to the message.
-
JobTemplateAlreadyExistsException
@FormatMethod public JobTemplateAlreadyExistsException(Throwable cause, @FormatString String message, Object... args) Constructs a new exception with the specified detail message and cause.- Parameters:
cause
- the cause of the exception.message
- the detail message.args
- the arguments to the message.
-