public class BuildFileParseException extends HumanReadableException
Modifier | Constructor and Description |
---|---|
protected |
BuildFileParseException(String message,
Object... args) |
Modifier and Type | Method and Description |
---|---|
static BuildFileParseException |
createForBuildFileParseError(Path buildFile,
IOException cause) |
static BuildFileParseException |
createForUnknownParseError(String message,
Object... args) |
String |
getHumanReadableErrorMessage() |
getDependencyStack
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static BuildFileParseException createForUnknownParseError(String message, Object... args)
public static BuildFileParseException createForBuildFileParseError(Path buildFile, @Nullable IOException cause)
public String getHumanReadableErrorMessage()
getHumanReadableErrorMessage
in interface ExceptionWithHumanReadableMessage
getHumanReadableErrorMessage
in class HumanReadableException