Class SettingsBuildingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.maven.settings.building.SettingsBuildingException
- All Implemented Interfaces:
Serializable
Signals one ore more errors during settings building. The settings builder tries to collect as many problems as
possible before eventually failing to provide callers with rich error information. Use
getProblems()
to
query the details of the failure.- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSettingsBuildingException
(List<SettingsProblem> problems) Creates a new exception with the specified problems. -
Method Summary
Modifier and TypeMethodDescriptionGets the problems that caused this exception.private static String
toMessage
(List<SettingsProblem> problems) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
problems
-
-
Constructor Details
-
SettingsBuildingException
Creates a new exception with the specified problems.- Parameters:
problems
- The problems that causes this exception, may benull
.
-
-
Method Details
-
getProblems
Gets the problems that caused this exception.- Returns:
- The problems that caused this exception, never
null
.
-
toMessage
-