コード例 #1
0
 private string _FindException(OctopusDisburseExceptionsEnum exceptionId)
 {
     string returned = String.Empty;
     switch(exceptionId)
     {
         case OctopusDisburseExceptionsEnum.DateIsWrong:
             returned = "DisburseExceptionDateWrong.Text";
             break;
     }
     return returned;
 }
コード例 #2
0
 public OctopusDisburseException(OctopusDisburseExceptionsEnum exceptionCode)
 {
     _code = _FindException(exceptionCode);
 }