|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LocationAwareException
A LocationAwareException
is an exception which can be annotated with a location in a script.
Method Summary | |
---|---|
Integer |
getLineNumber()
Returns the line in the script where this exception occurred, if known. |
String |
getLocation()
Returns a description of the location of where this exception occurred. |
String |
getMessage()
Returns the fully formatted error message, including the location. |
String |
getOriginalMessage()
Returns the undecorated message of this exception. |
List<Throwable> |
getReportableCauses()
Returns the reportable causes for this failure. |
org.gradle.groovy.scripts.ScriptSource |
getScriptSource()
Returns the source of the script where this exception occurred. |
Method Detail |
---|
String getOriginalMessage()
Returns the undecorated message of this exception.
org.gradle.groovy.scripts.ScriptSource getScriptSource()
Returns the source of the script where this exception occurred.
String getLocation()
Returns a description of the location of where this exception occurred.
Integer getLineNumber()
String getMessage()
List<Throwable> getReportableCauses()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |