QuartzSchedulerEngine implements SchedulerEngine { @Override public void suppressError( String jobName, String groupName, StorageType storageType) throws SchedulerException { try { Scheduler scheduler = getScheduler(storageType); jobName = fixMaxLength(jobName, _jobNameMaxLength, storageType); groupName = fixMaxLength( groupName, _groupNameMaxLength, storageType); JobKey jobKey = new JobKey(jobName, groupName); updateJobState(scheduler, jobKey, null, true); } catch (Exception exception) { throw new SchedulerException( StringBundler.concat( "Unable to suppress error for job {jobName=", jobName, ", groupName=", groupName, "}"), exception); } }  @Override void delete(String groupName, StorageType storageType); @Override void delete(
			String jobName, String groupName, StorageType storageType); int getDescriptionMaxLength(); int getGroupNameMaxLength(); int getJobNameMaxLength(); @Override SchedulerResponse getScheduledJob(
			String jobName, String groupName, StorageType storageType); @Override List<SchedulerResponse> getScheduledJobs(); @Override List<SchedulerResponse> getScheduledJobs(StorageType storageType); @Override List<SchedulerResponse> getScheduledJobs(
			String groupName, StorageType storageType); @Override void pause(String groupName, StorageType storageType); @Override void pause(String jobName, String groupName, StorageType storageType); @Override void resume(String groupName, StorageType storageType); @Override void resume(
			String jobName, String groupName, StorageType storageType); @Override void schedule(
			com.liferay.portal.kernel.scheduler.Trigger trigger,
			String description, String destination, Message message,
			StorageType storageType); @Override void shutdown(); @Override void start(); @Override void suppressError(
			String jobName, String groupName, StorageType storageType); @Override void unschedule(String groupName, StorageType storageType); @Override void unschedule(
			String jobName, String groupName, StorageType storageType); @Override void update(
			com.liferay.portal.kernel.scheduler.Trigger trigger,
			StorageType storageType); @Override void validateTrigger(
			com.liferay.portal.kernel.scheduler.Trigger trigger,
			StorageType storageType);  }
@Test public void testSuppressError() throws Exception { SchedulerResponse schedulerResponse = _quartzSchedulerEngine.getScheduledJob( _TEST_JOB_NAME_0, _MEMORY_TEST_GROUP_NAME, StorageType.MEMORY); Message message = schedulerResponse.getMessage(); JobState jobState = (JobState)message.get(SchedulerEngine.JOB_STATE); Assert.assertNotNull(jobState.getExceptions()); _quartzSchedulerEngine.suppressError( _TEST_JOB_NAME_0, _MEMORY_TEST_GROUP_NAME, StorageType.MEMORY); schedulerResponse = _quartzSchedulerEngine.getScheduledJob( _TEST_JOB_NAME_0, _MEMORY_TEST_GROUP_NAME, StorageType.MEMORY); message = schedulerResponse.getMessage(); jobState = (JobState)message.get(SchedulerEngine.JOB_STATE); Assert.assertNull(jobState.getExceptions()); }