congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
SchedulerListener.schedulerError
Code IndexAdd Tabnine to your IDE (free)

How to use
schedulerError
method
in
org.quartz.SchedulerListener

Best Java code snippets using org.quartz.SchedulerListener.schedulerError (Showing top 8 results out of 315)

origin: quartz-scheduler/quartz

public void schedulerError(String msg, SchedulerException cause) {
  Iterator<SchedulerListener> itr = listeners.iterator();
  while(itr.hasNext()) {
    SchedulerListener l = itr.next();
    l.schedulerError(msg, cause);
  }
}
origin: quartz-scheduler/quartz

public void schedulerError(String msg, SchedulerException cause) {
  Iterator<SchedulerListener> itr = listeners.iterator();
  while(itr.hasNext()) {
    SchedulerListener l = itr.next();
    l.schedulerError(msg, cause);
  }
}
origin: quartz-scheduler/quartz

public void notifySchedulerListenersError(String msg, SchedulerException se) {
  // build a list of all scheduler listeners that are to be notified...
  List<SchedulerListener> schedListeners = buildSchedulerListenerList();
  // notify all scheduler listeners
  for(SchedulerListener sl: schedListeners) {
    try {
      sl.schedulerError(msg, se);
    } catch (Exception e) {
      getLog()
          .error(
              "Error while notifying SchedulerListener of error: ",
              e);
      getLog().error(
          "  Original error (for notification) was: " + msg, se);
    }
  }
}
origin: quartz-scheduler/quartz

public void notifySchedulerListenersError(String msg, SchedulerException se) {
  // build a list of all scheduler listeners that are to be notified...
  List<SchedulerListener> schedListeners = buildSchedulerListenerList();
  // notify all scheduler listeners
  for(SchedulerListener sl: schedListeners) {
    try {
      sl.schedulerError(msg, se);
    } catch (Exception e) {
      getLog()
          .error(
              "Error while notifying SchedulerListener of error: ",
              e);
      getLog().error(
          "  Original error (for notification) was: " + msg, se);
    }
  }
}
origin: com.opensymphony.quartz/com.springsource.org.quartz

public void schedulerError(String msg, SchedulerException cause) {
  Iterator itr = listeners.iterator();
  while(itr.hasNext()) {
    SchedulerListener l = (SchedulerListener) itr.next();
    l.schedulerError(msg, cause);
  }
}
origin: quartz/quartz-all

public void schedulerError(String msg, SchedulerException cause) {
  Iterator itr = listeners.iterator();
  while(itr.hasNext()) {
    SchedulerListener l = (SchedulerListener) itr.next();
    l.schedulerError(msg, cause);
  }
}
origin: quartz/quartz-all

public void notifySchedulerListenersError(String msg, SchedulerException se) {
  // build a list of all scheduler listeners that are to be notified...
  List schedListeners = getSchedulerListeners();
  // notify all scheduler listeners
  java.util.Iterator itr = schedListeners.iterator();
  while (itr.hasNext()) {
    SchedulerListener sl = (SchedulerListener) itr.next();
    try {
      sl.schedulerError(msg, se);
    } catch (Exception e) {
      getLog()
          .error(
              "Error while notifying SchedulerListener of error: ",
              e);
      getLog().error(
          "  Original error (for notification) was: " + msg, se);
    }
  }
}
origin: com.opensymphony.quartz/com.springsource.org.quartz

public void notifySchedulerListenersError(String msg, SchedulerException se) {
  // build a list of all scheduler listeners that are to be notified...
  List schedListeners = getSchedulerListeners();
  // notify all scheduler listeners
  java.util.Iterator itr = schedListeners.iterator();
  while (itr.hasNext()) {
    SchedulerListener sl = (SchedulerListener) itr.next();
    try {
      sl.schedulerError(msg, se);
    } catch (Exception e) {
      getLog()
          .error(
              "Error while notifying SchedulerListener of error: ",
              e);
      getLog().error(
          "  Original error (for notification) was: " + msg, se);
    }
  }
}
org.quartzSchedulerListenerschedulerError

Javadoc

Called by the Scheduler when a serious error has occurred within the scheduler - such as repeated failures in the JobStore, or the inability to instantiate a Job instance when its Trigger has fired.

The getErrorCode() method of the given SchedulerException can be used to determine more specific information about the type of error that was encountered.

Popular methods of SchedulerListener

  • jobScheduled
    Called by the Scheduler when a org.quartz.JobDetail is scheduled.
  • jobUnscheduled
    Called by the Scheduler when a org.quartz.JobDetail is unscheduled.
  • jobsPaused
    Called by the Scheduler when a org.quartz.JobDetail or group of org.quartz.JobDetails has been pau
  • jobsResumed
    Called by the Scheduler when a org.quartz.JobDetail or group of org.quartz.JobDetails has been un-
  • schedulerShutdown
    Called by the Scheduler to inform the listener that it has shutdown.
  • triggerFinalized
    Called by the Scheduler when a Trigger has reached the condition in which it will never fire again.
  • triggersPaused
    Called by the Scheduler when a Trigger or group of Triggers has been paused. If a group was pause
  • triggersResumed
    Called by the Scheduler when a Trigger or group of Triggers has been un-paused. If a group was re
  • jobAdded
    Called by the Scheduler when a org.quartz.JobDetail has been added.
  • jobDeleted
    Called by the Scheduler when a org.quartz.JobDetail has been deleted.
  • jobPaused
    Called by the Scheduler when a org.quartz.JobDetail has been paused.
  • jobResumed
    Called by the Scheduler when a org.quartz.JobDetail has been un-paused.
  • jobPaused,
  • jobResumed,
  • schedulerInStandbyMode,
  • schedulerShuttingdown,
  • schedulerStarted,
  • schedulerStarting,
  • schedulingDataCleared,
  • triggerPaused,
  • triggerResumed

Popular in Java

  • Reading from database using SQL prepared statement
  • onCreateOptionsMenu (Activity)
  • setRequestProperty (URLConnection)
  • getSupportFragmentManager (FragmentActivity)
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • JOptionPane (javax.swing)
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • Top 12 Jupyter Notebook Extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now