Class ExceptionUtil

java.lang.Object
org.spockframework.util.ExceptionUtil

public class ExceptionUtil extends Object
Author:
Peter Niederwieser
  • Constructor Details

    • ExceptionUtil

      public ExceptionUtil()
  • Method Details

    • sneakyThrow

      public static void sneakyThrow(Throwable t)
      Allows to throw an unchecked exception without declaring it in a throws clause.