@Test public void testExceptionString() throws Exception { Exception exception = new JobExecutionNotStoppedException("foo"); assertEquals("foo", exception.getMessage()); }
List<JobExecution> jobExecutions = getStoppedJobExecutions(jobIdentifier); if (jobExecutions == null) { throw new JobExecutionNotStoppedException("No stopped execution found for job=" + jobIdentifier);
List<JobExecution> jobExecutions = getStoppedJobExecutions(jobIdentifier); if (jobExecutions == null) { throw new JobExecutionNotStoppedException("No stopped execution found for job=" + jobIdentifier);
List<JobExecution> jobExecutions = getStoppedJobExecutions(jobIdentifier); if (jobExecutions == null) { throw new JobExecutionNotStoppedException("No stopped execution found for job=" + jobIdentifier);
List<JobExecution> jobExecutions = getStoppedJobExecutions(jobIdentifier); if (jobExecutions == null) { throw new JobExecutionNotStoppedException("No stopped execution found for job=" + jobIdentifier);
List<JobExecution> jobExecutions = getStoppedJobExecutions(jobIdentifier); if (jobExecutions == null) { throw new JobExecutionNotStoppedException("No stopped execution found for job=" + jobIdentifier);