private Exception updateErrorMsg ( StringBuilder pErrors , Exception exp ) { pErrors . append ( exp . getClass ( ) ) . append ( ": " ) . append ( exp . getMessage ( ) ) . append ( "\n" ) ; return exp ; }
Helper method for adding the exception for an appropriate error message