fit.Test.Double.SampleDomain.ThrowException C# (CSharp) 메소드

ThrowException() 공개 메소드

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