org.apache.maven.usability.diagnostics
Class DiagnosisUtils

java.lang.Object
  extended by org.apache.maven.usability.diagnostics.DiagnosisUtils

public final class DiagnosisUtils
extends Object


Method Summary
static void appendRootCauseIfPresentAndUnique(Throwable error, StringBuffer message, boolean includeTypeInfo)
           
static boolean containsInCausality(Throwable error, Class test)
           
static Throwable getFromCausality(Throwable error, Class targetClass)
           
static Throwable getRootCause(Throwable error)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

containsInCausality

public static boolean containsInCausality(Throwable error,
                                          Class test)

getRootCause

public static Throwable getRootCause(Throwable error)

getFromCausality

public static Throwable getFromCausality(Throwable error,
                                         Class targetClass)

appendRootCauseIfPresentAndUnique

public static void appendRootCauseIfPresentAndUnique(Throwable error,
                                                     StringBuffer message,
                                                     boolean includeTypeInfo)


Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.