added RuntimeException

RuntimeException adds error file name, line number and function name to
the exception message