Class SettingsBuildingException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.maven.settings.building.SettingsBuildingException
All Implemented Interfaces:
Serializable

@Deprecated(since="4.0.0") public class SettingsBuildingException extends Exception
Deprecated.
since 4.0.0, use SettingsBuilder instead
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:
  • Constructor Details

    • SettingsBuildingException

      public SettingsBuildingException(List<SettingsProblem> problems)
      Deprecated.
      Creates a new exception with the specified problems.
      Parameters:
      problems - The problems that cause this exception, may be null.
  • Method Details

    • getProblems

      public List<SettingsProblem> getProblems()
      Deprecated.
      Gets the problems that caused this exception.
      Returns:
      The problems that caused this exception, never null.