fit.Test.Double.SampleDomain.ThrowException C# (CSharp) Method

ThrowException() public method

public ThrowException ( ) : string
return string
        public string ThrowException()
        {
            if (Message == "OK") return Message;
            if (Message == null) throw new NullReferenceException();
            throw new ApplicationException(Message);
        }