org.spockframework.runtime
Class SpockExecutionException

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

public class SpockExecutionException
extends java.lang.RuntimeException

Indicates that a problem occurred during Spec execution.

Author:
Peter Niederwieser
See Also:
Serialized Form

Constructor Summary
SpockExecutionException(java.lang.String msg)
           
SpockExecutionException(java.lang.String msg, java.lang.Throwable throwable)
           
 
Method Summary
 java.lang.String getMessage()
           
 SpockExecutionException withArgs(java.lang.Object... args)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

SpockExecutionException

public SpockExecutionException(java.lang.String msg)

SpockExecutionException

public SpockExecutionException(java.lang.String msg,
                               java.lang.Throwable throwable)
Method Detail

withArgs

public SpockExecutionException withArgs(java.lang.Object... args)

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable


Copyright © 2013. All rights reserved