clean up exception handling in java-nio.cpp
clean up exception handling in java-nio.cpp

getlantern/avian,dicej/avian,bgould/avian,minor-jason/avian,getlantern/avian,lostdj/avian,dicej/avian,bgould/avian,dicej/avian,joshuawarner32/avian,MaartenR/avian,MaartenR/avian,marcinolawski/avian,ucdseniordesign/avian,badlogic/avian,lostdj/avian,bigfatbrowncat/avian-pack.avian,lwahlmeier/avian,joshuawarner32/avian,badlogic/avian,lwahlmeier/avian,lwahlmeier/avian,bigfatbrowncat/avian-pack.avian,lwahlmeier/avian,ucdseniordesign/avian,bigfatbrowncat/avian-pack.avian,getlantern/avian,ucdseniordesign/avian,joshuawarner32/avian,badlogic/avian,marcinolawski/avian,marcinolawski/avian,badlogic/avian,ucdseniordesign/avian,getlantern/avian,marcinolawski/avian,MaartenR/avian,lostdj/avian,joshuawarner32/avian,bgould/avian,dicej/avian,bgould/avian,minor-jason/avian,MaartenR/avian,minor-jason/avian,lostdj/avian,bigfatbrowncat/avian-pack.avian,minor-jason/avian