Class SettingsBuildingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.maven.settings.building.SettingsBuildingException
- All Implemented Interfaces:
Serializable
Deprecated.
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) Deprecated.Creates a new exception with the specified problems. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Gets the problems that caused this exception.private static String
toMessage
(List<SettingsProblem> problems) Deprecated.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
problems
Deprecated.
-
-
Constructor Details
-
SettingsBuildingException
Deprecated.Creates a new exception with the specified problems.- Parameters:
problems
- The problems that cause this exception, may benull
.
-
-
Method Details
-
getProblems
Deprecated.Gets the problems that caused this exception.- Returns:
- The problems that caused this exception, never
null
.
-
toMessage
Deprecated.
-
SettingsBuilder
instead