throw an exception if neither are defined?