org.apache.maven.settings.building
Class SettingsBuildingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.maven.settings.building.SettingsBuildingException
- All Implemented Interfaces:
- Serializable
public class SettingsBuildingException
- extends Exception
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.
- Author:
- Benjamin Bentmann
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
SettingsBuildingException
public SettingsBuildingException(List<SettingsProblem> problems)
- Creates a new exception with the specified problems.
- Parameters:
problems
- The problems that causes this exception, may be null
.
getProblems
public List<SettingsProblem> getProblems()
- Gets the problems that caused this exception.
- Returns:
- The problems that caused this exception, never
null
.
Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.