static log params for reporting errors

better than throwing out of bounds exceptions
improved throwable log handling