if ( $message =~ /socketException/ ) { return 'NullPointerException'; }