Could we throw new Exception("Layout doesn't exist") rather than just a string?