Throwing an `UnsupportedOperationException` would be more approriate in my opinion.