Package org.spockframework.compiler
Class InvalidSpecCompileException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.codehaus.groovy.GroovyException
org.codehaus.groovy.syntax.SyntaxException
org.spockframework.compiler.InvalidSpecCompileException
- All Implemented Interfaces:
Serializable
,org.codehaus.groovy.GroovyExceptionInterface
public class InvalidSpecCompileException
extends org.codehaus.groovy.syntax.SyntaxException
Indicates that a spec was found to contain a (syntactic or semantic)
error during compilation. As such, this is the compile-time equivalent
of InvalidSpecException.
Inherits from SyntaxException so that line information can
be exploited by integrators (IDEs etc.).
Most of the time it is not necessary to use this class directly (see
documentation of class ErrorReporter).
- Author:
- Peter Niederwieser
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidSpecCompileException
(int line, int column, String msg, Object... args) InvalidSpecCompileException
(org.codehaus.groovy.ast.ASTNode node, String msg, Object... args) -
Method Summary
Methods inherited from class org.codehaus.groovy.syntax.SyntaxException
getEndColumn, getEndLine, getLine, getMessage, getOriginalMessage, getSourceLocator, getStartColumn, getStartLine, setSourceLocator
Methods inherited from class org.codehaus.groovy.GroovyException
isFatal, setFatal
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidSpecCompileException
-
InvalidSpecCompileException
-