@Public public class CompileException extends Exception
CompileException is thrown when there is
any issue with compiling the Recipe. It's content
include the exact line where the error occured and guess of what
the problem is. Often times, the guess is close enough to point
the problem, but, it's fair attempt to detect the exact issue.
The SyntaxError object embedded within this exception
contains the line number, character position, the raw content and
the formatted content of the line.| Constructor and Description |
|---|
CompileException(String message) |
CompileException(String message,
Exception e) |
CompileException(String message,
Iterator<SyntaxError> errors) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<SyntaxError> |
iterator() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic CompileException(String message)
public CompileException(String message, Iterator<SyntaxError> errors)
public Iterator<SyntaxError> iterator()
Copyright © 2022 CDAP Licensed under the Apache License, Version 2.0.