Tabnine Logo
StopExecutionException.getMessage
Code IndexAdd Tabnine to your IDE (free)

How to use
getMessage
method
in
org.gradle.api.tasks.StopExecutionException

Best Java code snippets using org.gradle.api.tasks.StopExecutionException.getMessage (Showing top 1 results out of 315)

origin: org.gradle/gradle-core

private GradleException executeActions(TaskInternal task, TaskStateInternal state, TaskExecutionContext context) {
  LOGGER.debug("Executing actions for {}.", task);
  final List<ContextAwareTaskAction> actions = new ArrayList<ContextAwareTaskAction>(task.getTaskActions());
  for (ContextAwareTaskAction action : actions) {
    state.setDidWork(true);
    task.getStandardOutputCapture().start();
    try {
      executeAction(action.getDisplayName(), task, action, context);
    } catch (StopActionException e) {
      // Ignore
      LOGGER.debug("Action stopped by some action with message: {}", e.getMessage());
    } catch (StopExecutionException e) {
      LOGGER.info("Execution stopped by some action with message: {}", e.getMessage());
      break;
    } catch (Throwable t) {
      return new TaskExecutionException(task, t);
    } finally {
      task.getStandardOutputCapture().stop();
    }
  }
  return null;
}
org.gradle.api.tasksStopExecutionExceptiongetMessage

Popular methods of StopExecutionException

  • <init>
  • initCause

Popular in Java

  • Finding current android device location
  • setRequestProperty (URLConnection)
  • startActivity (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • JButton (javax.swing)
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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