コード例 #1
0
		private static string _FindException(OpenCbsDOADeleteExceptionEnum exceptionId)
		{
			string returned = String.Empty;
			switch(exceptionId)
			{
				case OpenCbsDOADeleteExceptionEnum.HasChildrens:
					returned = "DOAExceptionHasChildrens.Text";
					break;

			}
			return returned;
		}
コード例 #2
0
        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);
		}
コード例 #4
0
 public OpenCbsDoaDeleteException(OpenCbsDOADeleteExceptionEnum exceptionCode)
 {
     _code = _FindException(exceptionCode);
 }