Class ScriptParsingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.openhab.core.model.script.engine.ScriptException
org.openhab.core.model.script.engine.ScriptParsingException
- All Implemented Interfaces:
Serializable
Exception that is thrown on errors during script execution.
- Author:
- Kai Kreuzer - Initial contribution
- See Also:
-
Constructor Summary
ConstructorDescriptionScriptParsingException
(String message, String scriptAsString) ScriptParsingException
(String message, String scriptAsString, Throwable t) -
Method Summary
Modifier and TypeMethodDescriptionaddDiagnosticErrors
(List<org.eclipse.emf.ecore.resource.Resource.Diagnostic> errors) addValidationIssues
(Iterable<org.eclipse.xtext.validation.Issue> validationErrors) Methods inherited from class org.openhab.core.model.script.engine.ScriptException
getErrors, getMessage, setScriptText
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ScriptParsingException
-
ScriptParsingException
-
-
Method Details
-
addDiagnosticErrors
public ScriptParsingException addDiagnosticErrors(List<org.eclipse.emf.ecore.resource.Resource.Diagnostic> errors) -
addValidationIssues
public ScriptParsingException addValidationIssues(Iterable<org.eclipse.xtext.validation.Issue> validationErrors)
-