Class MavenBuilderException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
SettingsBuilderException, ToolchainsBuilderException

@Experimental public abstract class MavenBuilderException extends MavenException
Base class for all maven exceptions carrying BuilderProblems.
Since:
4.0.0
See Also:
  • Constructor Details

  • Method Details

    • buildMessage

      protected static String buildMessage(String message, List<BuilderProblem> problems)
      Formats message out of problems: problems are sorted (in natural order of BuilderProblem.Severity) and then a list is built. These exceptions are usually thrown in "fatal" cases (and usually prevent Maven from starting), and these exceptions may end up very early on output.
    • getProblems

      public List<BuilderProblem> getProblems()