Package aQute.bnd.exceptions
Class Exceptions
java.lang.Object
aQute.bnd.exceptions.Exceptions
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
static RuntimeException
static String
Return a display name of an exception type.static String
static void
unchecked
(RunnableWithException runnable) static <V> V
static Throwable
static Throwable
unrollCause
(Throwable t, Class<? extends Throwable> unrollType)
-
Method Details
-
unchecked
-
unchecked
-
duck
-
toString
-
unrollCause
-
unrollCause
-
causes
-
getDisplayTypeName
Return a display name of an exception type. This is basically removing the package and the Exception or Error suffix.- Parameters:
e
- the exception- Returns:
- a display name for its type
-