Package org.apache.gravitino.exceptions
Class NoSuchJobTemplateException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.gravitino.exceptions.GravitinoRuntimeException
org.apache.gravitino.exceptions.NotFoundException
org.apache.gravitino.exceptions.NoSuchJobTemplateException
- All Implemented Interfaces:
Serializable
An exception thrown when the job template is not existed. This exception is typically used to
indicate that a requested job template does not exist in the system.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNoSuchJobTemplateException
(String message, Object... args) Constructs a new NoSuchJobTemplateException with the specified detail message.NoSuchJobTemplateException
(Throwable cause, String message, Object... args) Constructs a new NoSuchJobTemplateException 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
-
NoSuchJobTemplateException
Constructs a new NoSuchJobTemplateException with the specified detail message.- Parameters:
message
- the detail message.args
- the arguments to the message.
-
NoSuchJobTemplateException
@FormatMethod public NoSuchJobTemplateException(Throwable cause, @FormatString String message, Object... args) Constructs a new NoSuchJobTemplateException with the specified detail message and cause.- Parameters:
cause
- the cause of the exception.message
- the detail message.args
- the arguments to the message.
-