Throwing runtime exception when schema is not available