Fixes Anonymous Class Member Visibility

Fixes code pro medium flag Anonymous Class Member visibility

author: Shockolate
Fixes Empty Catch Clause

Fixes Empty Catch Clause medium flag

Author: Shockolate