org.spockframework.util
Class ExceptionUtil

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

public class ExceptionUtil
extends java.lang.Object

Author:
Peter Niederwieser

Constructor Summary
ExceptionUtil()
           
 
Method Summary
static void sneakyThrow(java.lang.Throwable t)
          Allows to throw an unchecked exception without declaring it in a throws clause.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionUtil

public ExceptionUtil()
Method Detail

sneakyThrow

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



Copyright © 2013. All rights reserved