move the exception throwing to coerceBytes.