Package org.spockframework.util
Class ExceptionUtil
java.lang.Object
org.spockframework.util.ExceptionUtil
- Author:
- Peter Niederwieser
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
Allows to throw an unchecked exception without declaring it in a throws clause.
-
Constructor Details
-
ExceptionUtil
public ExceptionUtil()
-
-
Method Details
-
sneakyThrow
Allows to throw an unchecked exception without declaring it in a throws clause.
-