replace exception class with console.error statements
remove hexString property, add from hex conversion