/*===============================================================================
 * Event.cs
 * 
 * Change history
 * When         Who     Comment
 * ----------   ------  ----------------------------------
 * 2005-03-02   RMa     Created
 * 
---------------------------------------------------------------------------------*/
using System;
using System.Collections.Generic;
using System.Text;

namespace Wayne.Lib.StateEngine
{
    /// <summary>
    /// Wayne.Lib.StateEngine exception is a general exception that can be thrown from the 
    /// state engine library.
    /// </summary>

    [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2237:MarkISerializableTypesWithSerializable")]
    [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1032:ImplementStandardExceptionConstructors")]
    public class StateEngineException : Exception
    {        
        /// <summary>
        /// Initializes a new instance of the StateEngineException class.
        /// </summary>
        public StateEngineException() { }
        
        /// <summary>
        /// Initializes a new instance of the StateEngineException class.
        /// </summary>
        public StateEngineException(string message) : base(message) { }
        
        /// <summary>
        /// Initializes a new instance of the StateEngineException class.
        /// </summary>
        public StateEngineException(string message, Exception inner) : base(message, inner) { }
    }
}