thrownewCRM_Core_Exception('Supplied Sub type is not valid for the specified entity');
thrownewCRM_Core_Exception(ts('The Sub Type ID %1 is not valid for the specified entity or it has been disabled. If the Sub Type was disabled, re-enable it temporarily and re-save this form in order to remove the setting.',[1=>$childType]));
thrownewCRM_Core_Exception('Supplied Sub type is not valid for the specified entity');
thrownewCRM_Core_Exception(ts('The Sub Type ID %1 is not valid for the specified entity or it has been disabled. If the Sub Type was disabled, re-enable it temporarily and re-save this form in order to remove the setting.',[1=>$childType]));