@Component(role=ExceptionHandler.class) public class DefaultExceptionHandler extends java.lang.Object implements ExceptionHandler
Constructor and Description |
---|
DefaultExceptionHandler() |
Modifier and Type | Method and Description |
---|---|
private java.lang.String |
getMessage(java.lang.String message,
java.lang.Throwable exception) |
private java.lang.String |
getReference(java.lang.Throwable exception) |
private ExceptionSummary |
handle(ModelProblem problem,
java.lang.String projectId) |
private ExceptionSummary |
handle(ProjectBuildingResult result) |
private ExceptionSummary |
handle(java.lang.String message,
java.lang.Throwable exception) |
ExceptionSummary |
handleException(java.lang.Throwable exception) |
private boolean |
isNoteworthyException(java.lang.Throwable exception) |
private java.lang.String |
join(java.lang.String message1,
java.lang.String message2) |
public ExceptionSummary handleException(java.lang.Throwable exception)
handleException
in interface ExceptionHandler
private ExceptionSummary handle(java.lang.String message, java.lang.Throwable exception)
private ExceptionSummary handle(ProjectBuildingResult result)
private ExceptionSummary handle(ModelProblem problem, java.lang.String projectId)
private java.lang.String getReference(java.lang.Throwable exception)
private boolean isNoteworthyException(java.lang.Throwable exception)
private java.lang.String getMessage(java.lang.String message, java.lang.Throwable exception)
private java.lang.String join(java.lang.String message1, java.lang.String message2)