Add exceptions handling illegal binary code