add exceptions tasks
use java 1.7