* @param filename Selenese script file.
* @param e InvalidSeleneseException instance.
* @return ErrorTestCase instance.
*/
public static ErrorTestCase newErrorTestCase(String filename, InvalidSeleneseException e) {
ErrorTestCase errorTestCase = injector.getInstance(ErrorTestCase.class);
return errorTestCase.initialize(filename, e);
}