org.spockframework.runtime
Class InvalidSpecException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.spockframework.runtime.InvalidSpecException
- All Implemented Interfaces:
- java.io.Serializable
public class InvalidSpecException
- extends java.lang.RuntimeException
Indicates that a Spec has done something it is not supposed to do. It is up
to the Spec author to correct the problem.
- Author:
- Peter Niederwieser
- See Also:
- Serialized Form
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 |
InvalidSpecException
public InvalidSpecException(java.lang.String msg)
InvalidSpecException
public InvalidSpecException(java.lang.String msg,
java.lang.Throwable throwable)
withArgs
public InvalidSpecException withArgs(java.lang.Object... args)
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in class java.lang.Throwable
Copyright © 2013. All rights reserved