Tag Info

New answers tagged

1

Exceptions denote exceptional cases, which I think is in your case. Assuming I am understanding your question correctly, returning an empty/null result could also imply that the input was [4][4][4][0], so there was nothing to return, rather than an empty or malformed input array. I would suggest that wrap that exception with an exception of your own, ...



Top 50 recent answers are included