org.spockframework.compiler
Class InvalidSpecCompileException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.codehaus.groovy.GroovyException
              extended by org.codehaus.groovy.syntax.SyntaxException
                  extended by org.spockframework.compiler.InvalidSpecCompileException
All Implemented Interfaces:
java.io.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:
Serialized Form

Constructor Summary
InvalidSpecCompileException(org.codehaus.groovy.ast.ASTNode node, java.lang.String msg, java.lang.Object... args)
           
InvalidSpecCompileException(int line, int column, java.lang.String msg, java.lang.Object... args)
           
 
Method Summary
 
Methods inherited from class org.codehaus.groovy.syntax.SyntaxException
getEndColumn, getLine, getMessage, getOriginalMessage, getSourceLocator, getStartColumn, getStartLine, setSourceLocator
 
Methods inherited from class org.codehaus.groovy.GroovyException
isFatal, setFatal
 
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

InvalidSpecCompileException

public InvalidSpecCompileException(int line,
                                   int column,
                                   java.lang.String msg,
                                   java.lang.Object... args)

InvalidSpecCompileException

public InvalidSpecCompileException(org.codehaus.groovy.ast.ASTNode node,
                                   java.lang.String msg,
                                   java.lang.Object... args)


Copyright © 2013. All rights reserved