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