mirror of https://github.com/apache/maven.git
improved javadoc
This commit is contained in:
parent
2351cc1bb9
commit
82eba2a03f
|
@ -19,6 +19,11 @@ package org.apache.maven.exception;
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Transform an exception into useful end-user message.
|
||||
*
|
||||
* @since 3.0-alpha-3
|
||||
*/
|
||||
public interface ExceptionHandler
|
||||
{
|
||||
ExceptionSummary handleException( Throwable e );
|
||||
|
|
|
@ -22,13 +22,16 @@ package org.apache.maven.exception;
|
|||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
// provide a
|
||||
// - the exception
|
||||
// - useful message
|
||||
// - useful reference to a solution, or set of solutions
|
||||
// - the configuration gleaned for examination
|
||||
// - plugin repositories
|
||||
|
||||
/**
|
||||
* Provide a summary of the exception, containing:<ul>
|
||||
* <li>the exception itself,</li>
|
||||
* <li>useful end-user message,</li>
|
||||
* <li>useful reference to a solution, or set of solutions: this is usually a wiki page url in
|
||||
* <a href="http://cwiki.apache.org/confluence/display/MAVEN/">http://cwiki.apache.org/confluence/display/MAVEN/</a>,
|
||||
* </li>
|
||||
* <li>child exception summaries.</li>
|
||||
* </ul>
|
||||
*/
|
||||
public class ExceptionSummary
|
||||
{
|
||||
|
||||
|
|
Loading…
Reference in New Issue