Package org.apache.maven.exception
Class DefaultExceptionHandler
java.lang.Object
org.apache.maven.exception.DefaultExceptionHandler
- All Implemented Interfaces:
ExceptionHandler
Transform an exception into useful end-user message.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate String
getMessage
(String message, Throwable exception) private String
getReference
(Set<Throwable> dejaVu, Throwable exception) private ExceptionSummary
private ExceptionSummary
handle
(ModelProblem problem, String projectId) private ExceptionSummary
handle
(ProjectBuildingResult result) handleException
(Throwable exception) private boolean
isNoteworthyException
(Throwable exception) private String
-
Constructor Details
-
DefaultExceptionHandler
public DefaultExceptionHandler()
-
-
Method Details
-
handleException
- Specified by:
handleException
in interfaceExceptionHandler
-
handle
-
handle
-
handle
-
getReference
-
isNoteworthyException
-
getMessage
-
join
-