/**
* Copyright (c) 2014-2017 by the respective copyright holders.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/
package org.eclipse.smarthome.model.script.engine;
/**
* Exception that is thrown on errors during script execution.
*
* @author Kai Kreuzer - Initial contribution and API
*
*/
public class ScriptExecutionException extends ScriptException {
private static final long serialVersionUID = 149490362444673405L;
public ScriptExecutionException(final String message, final int line, final int column, final int length) {
super(message, null, line, column, length);
}
public ScriptExecutionException(final String message, final Throwable cause, final int line, final int column,
final int length) {
super(cause, message, null, line, column, length);
}
public ScriptExecutionException(final String message) {
super(message);
}
public ScriptExecutionException(String message, Throwable exception) {
super(message, exception);
}
}