Package org.apache.maven.api.services
Class MavenBuilderException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.maven.api.services.MavenException
org.apache.maven.api.services.MavenBuilderException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- SettingsBuilderException,- ToolchainsBuilderException
Base class for all maven exceptions carrying 
BuilderProblems.- Since:
- 4.0.0
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionMavenBuilderException(String message, Throwable cause) MavenBuilderException(String message, ProblemCollector<BuilderProblem> problems) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected static StringbuildMessage(String message, ProblemCollector<BuilderProblem> problems) Formats message out of problems: problems are sorted (in natural order ofBuilderProblem.Severity) and then a list is built.Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
MavenBuilderException
- 
MavenBuilderException
 
- 
- 
Method Details- 
buildMessageFormats message out of problems: problems are sorted (in natural order ofBuilderProblem.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.
- 
getProblemCollector
 
-