Need logging here. not sure if it should be error level or just warn.

And do we really want to throw an unchecked exception?