Removed unused throws clauses, updated JavaANPR version

Signed-off-by: Ondrej Skopek <skopekondrej@gmail.com>