pmd, fixed short variable name
checkstyle, multi-line function call
fixed returning error result
updated unit tests
Merge pull request #30 from Rovak/fix/directexceptions

Change direct exception result