Class JobNotFoundRuntimeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.redwood.scheduler.infrastructure.exception.SchedulerRuntimeException
-
- com.redwood.scheduler.api.exception.SchedulerAPIRuntimeException
-
- com.redwood.scheduler.api.exception.JobNotFoundRuntimeException
-
- All Implemented Interfaces:
ExceptionData
,Serializable
@Generated("build/redwood/jbs/generated-exceptions/Exceptions.java.tmpl") public class JobNotFoundRuntimeException extends SchedulerAPIRuntimeException
A request was made for a job, however the job did not exist.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
JobNotFoundRuntimeException(String newErrorCode, String messageFormat, Throwable cause, Object[] exceptionDataEN, Object[] exceptionData)
JobNotFoundRuntimeException(Throwable cause, String relativeJob, Job job, String name)
A request was made for a job, however the job did not exist.
-
Method Summary
-
Methods inherited from class com.redwood.scheduler.infrastructure.exception.SchedulerRuntimeException
bestException, getDefaultMessageFormat, getErrorCode, getExceptionData, getLocalizedMessage, getLocalizedMessage, getMessage, getTranslation, isSystemLoggable, skipException, toString
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
JobNotFoundRuntimeException
protected JobNotFoundRuntimeException(String newErrorCode, String messageFormat, Throwable cause, Object[] exceptionDataEN, Object[] exceptionData)
-
JobNotFoundRuntimeException
public JobNotFoundRuntimeException(Throwable cause, String relativeJob, Job job, String name)
A request was made for a job, however the job did not exist.- Parameters:
cause
- The originating exception, null if this is the originating exceptionrelativeJob
- The string that is being used to determine what job to find.job
- The job that is used as a base point.name
- A string representing what could not be found.
-
-