Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.gradle.api
Class ScriptCompilationException

    java.lang.Object
      java.lang.Throwable
          java.lang.Exception
              java.lang.RuntimeException
                  org.gradle.api.GradleException
                      org.gradle.api.GradleScriptException
                          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()

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD