Badgerati/Edison

View on GitHub
Edison.Framework/Exceptions/TestResultStateException.cs

Summary

Maintainability
A
0 mins
Test Coverage
/*
Edison is designed to be simpler and more performant unit/integration testing framework.

Copyright (c) 2015, Matthew Kelly (Badgerati)
Company: Cadaeic Studios
License: MIT (see LICENSE for details)
 */

using Edison.Framework;
using System;

namespace Edison.Framework
{
    public class TestResultStateException : Exception
    {

        #region Properties

        public virtual TestResultState TestResultState { get; set; }

        #endregion

        #region Constructor

        public TestResultStateException(string message, TestResultState state)
            : base(message)
        {
            TestResultState = state;
        }

        public TestResultStateException(string message, Exception inner, TestResultState state)
            : base(message, inner)
        {
            TestResultState = state;
        }

        #endregion

    }
}