using System;
using System.Runtime.Serialization;
using JetBrains.Annotations;
namespace Chernobyl.StateMachine
{
///
/// Exception thrown when there is an issue with the state of something.
///
public class StateException : Exception
{
///
public StateException(string message) : base(message) {}
///
public StateException(string message, Exception innerException) : base(message, innerException)
{}
///
protected StateException([NotNull] SerializationInfo info, StreamingContext context)
: base(info, context) {}
}
}