示例#1
0
        public IWFactory CreateWFactory()
        {
            IWFactory factory = null;

            try
            {
                factory = new WFactory();
            }
            catch (Exception exception)
            {
                this.Log.Error("Exception message: " + exception.Message + " and stacktrace " + exception.StackTrace);
            }

            return(factory);
        }
示例#2
0
        public IWFactory CreateWFactory()
        {
            IWFactory factory = null;

            try
            {
                factory = new WFactory();
            }
            catch (Exception exception)
            {
                this.Log.Error(
                    exception.Message,
                    exception);
            }

            return(factory);
        }