Package cli_fmw.utils

Examples of cli_fmw.utils.ErrorValue


                    return groups.get(index);
                } else {
                    return getServices(item).get(index - groups.size());
                }
            } catch (ClipsException ex) {
                return new ErrorValue(ex);
            }

        }  else if (parent == SERVICE_PACKETS) {
            return packetList.get(index);
        else if (parent == medexamS) {
View Full Code Here


                    return expired;
                }
                default: throw new UnsupportedOperationException("Not supported yet.");
            }
        } catch (ClipsException ex) {
            return new ErrorValue(ex);
        }
    }
View Full Code Here

                case COL_EXPIRE_DATE: return Converter.dateToString(card.getExpiredDate());
                case COL_BLOCKED: return card.getBlocker() != null;
                default: return "error in switch-case";
            }
        } catch (ClipsException ex) {
            return new ErrorValue(ex);
        }
    }
View Full Code Here

                case COL_SUMM: return "";
                case COL_RESULT: return regLpu.getField(LpuFields.OUT).get().trim();
                default: throw new IllegalArgumentException("Неверный номер столбца : " + col);
            }
        } catch (xBaseJException ex) {
            return new ErrorValue(new ClipsException("Не удалось прочитать DBF", ex));
        } catch (IOException ex) {
            return new ErrorValue(new ClipsException("Не удалось прочитать DBF", ex));
        }
    }
View Full Code Here

                    case CL_SPECIALITY:
                        return item.getSpeciality();
                }
            }
        } catch (ClipsException ex) {
            return new ErrorValue(ex);
        }
        return null;
    }
View Full Code Here

                        return fields.get(rowIndex).getObject();
                    } else {
                        return directoryIWT.getItemFromID(fields.get(rowIndex).id).getTitle();
                    }
                } catch (ClipsException ex) {
                    return new ErrorValue(ex);
                }
            } else {
                return fields.get(rowIndex).title;
            }
        }
View Full Code Here

                } else {
                    return null;
                }
            }
        } catch (ClipsException ex) {
            return new ErrorValue(ex);
        }
    }
View Full Code Here

                case (COL_PAYED): return checkUpLocal.getSerrenLocal().isSerPayed();
                case (COL_WORK_LIFE): return checkUpLocal.getWorkingLifeDate();
                default: return null;
            }
        } catch (ClipsException ex) {
            return new ErrorValue(ex);
        }
    }
View Full Code Here

  @Override
  public Object getValueAt(int rowIndex, int columnIndex) {
    try {
      return getColumnValue(delegates.get(rowIndex), columnIndex);
    } catch (ClipsException ex) {
      return new ErrorValue(ex);
    }
  }
View Full Code Here

                }
                default:
                    return null;
            }
        } catch (ClipsException ex) {
            return new ErrorValue(ex);
        }
    }
View Full Code Here

TOP

Related Classes of cli_fmw.utils.ErrorValue

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.