}

try {
TABline = console.readLine();
TABif (line.length() == 0) {
TABTABthrow new EmptyLineException("The line read from console was empty!");
TAB}
TABconsole.printLine("Hello %s!" % line);
TABconsole.printLine("The program ran successfully");
 } catch (EmptyLineException e) {
TABconsole.printLine("Hello!");
 } catch (Exception e) {
TABconsole.printLine("Error: " + e.message());
 } finally {
TABconsole.printLine("The program terminates now");