Class ExecutorException

All Implemented Interfaces:
Serializable

@Experimental public class ExecutorException extends RuntimeException
Represents an exception that occurs during the execution of a Maven build or command. This exception is typically thrown when there are errors during the execution of a Maven process, such as wrong cwd, non-existent installation directory, or other runtime issues.
Since:
4.0.0
See Also:
  • Constructor Details

    • ExecutorException

      public ExecutorException(@Nullable String message)
      Constructs a new InvokerException with the specified detail message.
      Parameters:
      message - the detail message explaining the cause of the exception
    • ExecutorException

      public ExecutorException(@Nullable String message, @Nullable Throwable cause)
      Constructs a new InvokerException with the specified detail message and cause.
      Parameters:
      message - the detail message explaining the cause of the exception
      cause - the underlying cause of the exception