Пример #1
0
		private static string _FindException(OpenCbsDOADeleteExceptionEnum exceptionId)
		{
			string returned = String.Empty;
			switch(exceptionId)
			{
				case OpenCbsDOADeleteExceptionEnum.HasChildrens:
					returned = "DOAExceptionHasChildrens.Text";
					break;

			}
			return returned;
		}
        private static string _FindException(OpenCbsDOADeleteExceptionEnum exceptionId)
        {
            string returned = String.Empty;

            switch (exceptionId)
            {
            case OpenCbsDOADeleteExceptionEnum.HasChildrens:
                returned = "DOAExceptionHasChildrens.Text";
                break;
            }
            return(returned);
        }
Пример #3
0
		public OpenCbsDoaDeleteException(OpenCbsDOADeleteExceptionEnum exceptionCode)
		{
			_code = _FindException(exceptionCode);
		}
 public OpenCbsDoaDeleteException(OpenCbsDOADeleteExceptionEnum exceptionCode)
 {
     _code = _FindException(exceptionCode);
 }