The @ sign doesn't suppres thrown ErrorExceptions, so prevent them instead.