Replaced RuntimeExceptions with specific exceptions