fix Eclipse warnings: remove unused exceptions, remove redundant type
args