summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/Exceptions/SParseException.cs
blob: f7133ee7090ea93d80d22772554516963a496d3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
using System;

namespace StardewModdingAPI.Framework.Exceptions
{
    /// <summary>A format exception which provides a user-facing error message.</summary>
    internal class SParseException : FormatException
    {
        /*********
        ** Public methods
        *********/
        /// <summary>Construct an instance.</summary>
        /// <param name="message">The error message.</param>
        /// <param name="ex">The underlying exception, if any.</param>
        public SParseException(string message, Exception ex = null)
            : base(message, ex) { }
    }
}