org.spockframework.util
Class WrappedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.spockframework.util.WrappedException
All Implemented Interfaces:
java.io.Serializable

public class WrappedException
extends java.lang.RuntimeException

Wraps a checked exception s.t. it can be thrown from a method that doesn't declare to throw it.

Author:
Peter Niederwieser
See Also:
Serialized Form

Constructor Summary
WrappedException(java.lang.String msg, java.lang.Throwable cause)
           
WrappedException(java.lang.Throwable cause)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WrappedException

public WrappedException(java.lang.Throwable cause)

WrappedException

public WrappedException(java.lang.String msg,
                        java.lang.Throwable cause)


Copyright © 2013. All rights reserved