removed unused variables and dead code
RunTimeException vs. RuntimeException
fixed Exception use statements
fixed method visibility keyword order
fixed field visibility keyword order