removing unused custom exceptions and argumentrequired exception now inherits from argumentexception.