Quick Scala port of LJM and LJMException Java classes from LabJack