Add error handling in Sohoa

Minor fix : Use of class constant in case of numeric