saker.build Documentation TaskDoc JavaDoc Packages
public class ScriptParsingFailedException extends Exception
Exception reporting that a build script evaluation failed due to some syntactic or semantic error.

The reasons of the parsing failure can be retrieved from getReasons().

Nested types
public static class
Class for containing the location and the reason of the script parsing failure.
Constructors
public
Creates a new instance.
public
Creates a new instance.
public
Creates a new instance.
public
Creates a new instance.
Methods
public Set<Reason>
Gets the reasons that caused the script parsing to fail.
public ScriptParsingFailedException(String message, Throwable cause, Set<Reason> reasons)
Creates a new instance.
messageThe detail message.
causeThe cause.
reasonsThe reasons for parsing failure.
public ScriptParsingFailedException(String message, Set<Reason> reasons)
Creates a new instance.
messageThe detail message.
reasonsThe reasons for parsing failure.
Creates a new instance.
causeThe cause.
reasonsThe reasons for parsing failure.
Creates a new instance.
reasonsThe reasons for parsing failure.
Gets the reasons that caused the script parsing to fail.
An unmodifiable set of reasons.