add getTopObject() to ShellRuntimeException