package com.c2kernel.scripting;
public class ScriptErrorException extends java.lang.Exception {
/**
* Creates new sciptingEngineException without detail message.
*/
ErrorInfo errors;
public ScriptErrorException() {
}
/**
* Constructs an sciptingEngineException with the specified detail message.
* @param msg the detail message.
*/
public ScriptErrorException(String msg) {
super(msg);
}
public ScriptErrorException(ErrorInfo errors) {
super(errors.toString());
this.errors = errors;
}
public ErrorInfo getErrors() {
return errors;
}
}