def METHOD_NAME(cls, message: str, no_personal_data_message: str) -> Exception:
    """The function to create the validation exception to raise in _try_raise and _validate when
    raise_error is True.
    Should be overridden by subclass.
    :param message: The error message containing detailed information
    :type message: str
    :param no_personal_data_message: The error message without personal data
    :type no_personal_data_message: str
    :return: The validation exception to raise
    :rtype: Exception
    """
    raise NotImplementedError()