Class SettingsBuildingException

  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.maven.settings.building.SettingsBuildingException
All Implemented Interfaces:

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.

Benjamin Bentmann
See Also:
Serialized Form

Constructor Summary
SettingsBuildingException(List<SettingsProblem> problems)
          Creates a new exception with the specified problems.
Method Summary
 List<SettingsProblem> getProblems()
          Gets the problems that caused this exception.
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


public SettingsBuildingException(List<SettingsProblem> problems)
Creates a new exception with the specified problems.

problems - The problems that causes this exception, may be null.
Method Detail


public List<SettingsProblem> getProblems()
Gets the problems that caused this exception.

The problems that caused this exception, never null.

Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.