Package de.willuhn.util

Examples of de.willuhn.util.I18N.tr()


    }
    catch (Exception e)
    {
      close();
      Logger.error("error while opening key",e);
      throw new ApplicationException(i18n.tr("Fehler beim �ffnen des Schl�ssels: {0}",e.getMessage()));
    }
  }

  /**
   * @see de.willuhn.jameica.hbci.passport.PassportHandle#close()
View Full Code Here


    try
    {
      if (getName() == null || getName().length() == 0)
      {
        throw new ApplicationException(i18n.tr("Keine Bezeichnung f�r die Version angegeben"));
      }
    }
    catch (RemoteException re)
    {
      Logger.error("error while checking version",re);
View Full Code Here

      }
    }
    catch (RemoteException re)
    {
      Logger.error("error while checking version",re);
      throw new ApplicationException(i18n.tr("Fehler beim Pr�fen der Version"));
    }
    super.insertCheck();
  }

  /**
 
View Full Code Here

  public void handleAction(Object context) throws ApplicationException
  {
    final I18N i18n = Application.getPluginLoader().getPlugin(HBCI.class).getResources().getI18N();

    if (!(context instanceof SepaSammelTransfer))
      throw new ApplicationException(i18n.tr("Bitte geben Sie einen SEPA-Sammelauftrag an"));

    try
    {
      final SepaSammelTransfer u = (SepaSammelTransfer) context;
     
View Full Code Here

    try
    {
      final SepaSammelTransfer u = (SepaSammelTransfer) context;
     
      if (u.ausgefuehrt())
        throw new ApplicationException(i18n.tr("SEPA-Sammelauftrag wurde bereits ausgef�hrt"));

      if (u.getBuchungen().size() == 0)
        throw new ApplicationException(i18n.tr("SEPA-Sammelauftrag enth�lt keine Buchungen"));
     
      if (u.isNewObject())
View Full Code Here

     
      if (u.ausgefuehrt())
        throw new ApplicationException(i18n.tr("SEPA-Sammelauftrag wurde bereits ausgef�hrt"));

      if (u.getBuchungen().size() == 0)
        throw new ApplicationException(i18n.tr("SEPA-Sammelauftrag enth�lt keine Buchungen"));
     
      if (u.isNewObject())
        u.store(); // wir speichern bei Bedarf selbst.

      SepaSammelTransferDialog d = new SepaSammelTransferDialog(u,SepaSammelTransferDialog.POSITION_CENTER);
View Full Code Here

        return;
      }
      catch (Exception e)
      {
        Logger.error("error while showing confirm dialog",e);
        GUI.getStatusBar().setErrorText(i18n.tr("Fehler beim Ausf�hren des Sammel-Auftrages"));
        return;
      }
      execute(u);
    }
    catch (RemoteException e)
View Full Code Here

      execute(u);
    }
    catch (RemoteException e)
    {
      Logger.error("error while executing sammelauftrag",e);
      GUI.getStatusBar().setErrorText(i18n.tr("Fehler beim Ausf�hren des Sammel-Auftrages"));
    }
  }

  /**
   * Wird aufgerufen, nachdem alle Sicherheitsabfragen erfolgt sind.
View Full Code Here

  public void handleAction(final Object context) throws ApplicationException
  {
    final I18N i18n = Application.getPluginLoader().getPlugin(HBCI.class).getResources().getI18N();

    if (context == null || (!(context instanceof Passport) && !(context instanceof PassportHandle)))
      throw new ApplicationException(i18n.tr("Bitte w�hlen Sie ein Sicherheits-Medium aus."));

    BackgroundTask task = new BackgroundTask() {
      public void run(final ProgressMonitor monitor) throws ApplicationException
      {
        HBCIHandler handler = null;
View Full Code Here

      public void run(final ProgressMonitor monitor) throws ApplicationException
      {
        HBCIHandler handler = null;
        Target target       = null;
        try {
          monitor.setStatusText(i18n.tr("Teste Sicherheits-Medium..."));

          // Log-Ausgaben temporaer auch mit im Progressbar-Fenster
          // ausgeben
          target = new Target() {
            public void write(Message msg) throws Exception
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.