Package aQute.lib.exceptions
Class Exceptions
java.lang.Object
aQute.lib.exceptions.Exceptions
Deprecated.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
Deprecated.static RuntimeException
Deprecated.static String
Deprecated.Return a display name of an exception type.private static <E extends Throwable>
voidthrowsUnchecked
(Throwable throwable) Deprecated.static String
Deprecated.static void
unchecked
(RunnableWithException runnable) Deprecated.static <V> V
Deprecated.static Throwable
Deprecated.static Throwable
unrollCause
(Throwable t, Class<? extends Throwable> unrollType) Deprecated.
-
Field Details
-
DISPLAY_P
Deprecated.
-
-
Constructor Details
-
Exceptions
private Exceptions()Deprecated.
-
-
Method Details
-
unchecked
Deprecated. -
unchecked
Deprecated. -
duck
Deprecated. -
throwsUnchecked
Deprecated.- Throws:
E extends Throwable
-
toString
Deprecated. -
unrollCause
Deprecated. -
unrollCause
Deprecated. -
causes
Deprecated. -
getDisplayTypeName
Deprecated.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
-