Replaced exceptions with more friendly warnings