Esempio n. 1
0
  public void identify(
      int maxFARRequested,
      int maxFRRRequested,
      boolean FARPrecedence,
      byte[][] referenceBIRPopulation,
      int[][] candidateRanking,
      int timeout)
      throws JposException {
    // Make sure control is opened
    if (!bOpen) {
      throw new JposException(JPOS_E_CLOSED, "Control not opened");
    }

    // Perform the operation
    try {
      service110.identify(
          maxFARRequested,
          maxFRRRequested,
          FARPrecedence,
          referenceBIRPopulation,
          candidateRanking,
          timeout);
    } catch (JposException je) {
      throw je;
    } catch (Exception e) {
      throw new JposException(JPOS_E_FAILURE, "Unhandled exception from Device Service", e);
    }
  }