fit.Test.Double.SampleDomain.ThrowException C# (CSharp) Méthode

ThrowException() public méthode

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