org.gradle.api
Class ScriptCompilationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.gradle.api.GradleException
                  extended by org.gradle.api.GradleScriptException
                      extended by org.gradle.api.ScriptCompilationException
All Implemented Interfaces:
Serializable

public class ScriptCompilationException
extends GradleScriptException

A ScriptCompilationException is thrown when a script cannot be compiled.

See Also:
Serialized Form

Constructor Summary
ScriptCompilationException(ScriptCompilationException source)
           
ScriptCompilationException(String message, Throwable cause, org.gradle.groovy.scripts.ScriptSource scriptSource, Integer lineNumber)
           
 
Method Summary
 Integer getLineNumber()
           
 org.gradle.groovy.scripts.ScriptSource getScriptSource()
           
 
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

ScriptCompilationException

public ScriptCompilationException(ScriptCompilationException source)

ScriptCompilationException

public ScriptCompilationException(String message,
                                  Throwable cause,
                                  org.gradle.groovy.scripts.ScriptSource scriptSource,
                                  Integer lineNumber)
Method Detail

getScriptSource

public org.gradle.groovy.scripts.ScriptSource getScriptSource()

getLineNumber

public Integer getLineNumber()