private string _FindException(OpenCbsDOASaveExceptionEnum exceptionId)
		{
			string returned = String.Empty;
			switch(exceptionId)
			{
				case OpenCbsDOASaveExceptionEnum.NameIsNull:
					returned = "DOAExceptionNameIsNull.Text";
					break;

				case OpenCbsDOASaveExceptionEnum.CastInvalid:
					returned = "DOAExceptionCastInvalid.Text";
					break;

				case OpenCbsDOASaveExceptionEnum.AlreadyExist:
					returned = "DOAExceptionAlreadyExist.Text";
					break;
			}
			return returned;
		}
        private string _FindException(OpenCbsDOASaveExceptionEnum exceptionId)
        {
            string returned = String.Empty;

            switch (exceptionId)
            {
            case OpenCbsDOASaveExceptionEnum.NameIsNull:
                returned = "DOAExceptionNameIsNull.Text";
                break;

            case OpenCbsDOASaveExceptionEnum.CastInvalid:
                returned = "DOAExceptionCastInvalid.Text";
                break;

            case OpenCbsDOASaveExceptionEnum.AlreadyExist:
                returned = "DOAExceptionAlreadyExist.Text";
                break;
            }
            return(returned);
        }
 public OpenCbsDoaSaveException(OpenCbsDOASaveExceptionEnum exceptionCode)
 {
     code = _FindException(exceptionCode);
 }
		public OpenCbsDoaSaveException(OpenCbsDOASaveExceptionEnum exceptionCode)
		{
			code = _FindException(exceptionCode);
		}