com.pmease.quickbuild.util
Class ExceptionUtils
java.lang.Object
com.pmease.quickbuild.util.ExceptionUtils
public class ExceptionUtils
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExceptionUtils
public ExceptionUtils()
extractException
public static <T extends java.lang.Throwable> T extractException(java.lang.Throwable throwable,
java.lang.Class<T> exceptionClass)
extractQuickbuildException
public static QuickbuildException extractQuickbuildException(java.lang.Throwable throwable)
extractImportantMessage
public static java.lang.String extractImportantMessage(java.lang.Throwable throwable)
buildMessage
public static java.lang.String buildMessage(java.lang.String cause,
java.lang.Object... factors)
buildMessage
public static java.lang.String buildMessage(java.lang.String cause,
java.util.Map factors)
wrapAsUnchecked
public static java.lang.RuntimeException wrapAsUnchecked(java.lang.Throwable throwable)
wrapException
public static java.lang.RuntimeException wrapException(java.lang.String message,
java.lang.Throwable throwable)
Copyright © 2005-2010 PMEase Inc. All Rights Reserved.