can we throw an exception if default?