コード例 #1
0
        public Connect()
        {
            try
            {
                OMETrace.Initialize();
            }
            catch (Exception ex)
            {
                ex.ToString();
            }

            try
            {
                ExceptionHandler.UpdateExceptionLogginInfo();

                ExceptionHandler.Initialize();
            }
            catch (Exception ex)
            {
                ex.ToString();//ignore
            }

            try
            {
                ApplicationManager.CheckLocalAndSetLanguage();
            }
            catch (Exception ex)
            {
                ex.ToString();//ignore
            }
        }
コード例 #2
0
        static void InitalizeException()
        {
            try
            {
                OMETrace.Initialize();
            }
            catch (Exception ex)
            {
                ex.ToString();
            }

            try
            {
                ExceptionHandler.Initialize();
            }
            catch (Exception ex)
            {
                ex.ToString(); //ignore
            }
        }
コード例 #3
0
        public string ConnectToDatabase(ConnectionDetails currConnectionDetails, bool checkCustomConfig)
        {
            string exceptionString = dbInteraction.ConnectoToDB(currConnectionDetails, checkCustomConfig);

            try
            {
                OMETrace.Initialize();
            }
            catch (Exception ex)
            {
                ex.ToString(); //ignore
            }
            try
            {
                ExceptionHandler.Initialize();
            }
            catch (Exception ex)
            {
                ex.ToString(); //ignore
            }
            return(exceptionString);
        }