- java.lang.Object
-
- dk.cloudcreate.essentials.shared.Exceptions
-
public final class Exceptions extends Object
-
-
Constructor Summary
Constructors Constructor Description Exceptions()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetStackTrace(Throwable throwable)Get the stacktrace of thethrowableas a Stringstatic <T extends Throwable,R>
RsneakyThrow(Throwable t)Allows us to sneaky throw a checked exception without having to wrap it
Use with caution
-