<commit_before>namespace Topshelf.Exceptions
{
    using System;
    using System.Runtime.Serialization;

    public class CouldntFindServiceException : 
        Exception
    {
        public CouldntFindServiceException(string name) : base(string.Format("Couldn't find '{0}' in the ServiceLocator", name))
        {
            
        }

        public CouldntFindServiceException(string name, Type serviceType)
            : base(string.Format("Couldn't find service '{0}' named '{1}' in the ServiceLocator", serviceType.Name, name))<commit_msg>exceptions should carry the [Serializable] attribute<commit_after>namespace Topshelf.Exceptions
{
    using System;
    using System.Runtime.Serialization;

    [Serializable]
    public class CouldntFindServiceException : 
        Exception
    {
        public CouldntFindServiceException(string name) : base(string.Format("Couldn't find '{0}' in the ServiceLocator", name))
        {
            
        }

        public CouldntFindServiceException(string name, Type serviceType)
            : base(string.Format("Couldn't find service '{0}' named '{1}' in the ServiceLocator", serviceType.Name, name))
{'fraction_non_alphanumeric': 0.09342560553633218, 'fraction_numerical': 0.005190311418685121, 'mean_word_length': 3.207272727272727, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5624751', 'n_tokens_mistral': 306, 'n_tokens_neox': 295, 'n_words': 77}