Package de.willuhn.util

Examples of de.willuhn.util.ApplicationException


      return i18n.tr("{0}: ({1}) {2} {3} als SEPA-Sammellastschrift einziehen",k.getLongName(),last.getBezeichnung(),HBCI.DECIMALFORMAT.format(last.getSumme()),k.getWaehrung());
    }
    catch (RemoteException re)
    {
      Logger.error("unable to determine job name",re);
      throw new ApplicationException(i18n.tr("Auftragsbezeichnung nicht ermittelbar: {0}",re.getMessage()));
    }
  }
View Full Code Here


      return i18n.tr("{0}: ({1}) {2} {3} an {4} �berweisen",k.getLongName(),ueb.getZweck(),HBCI.DECIMALFORMAT.format(ueb.getBetrag()),k.getWaehrung(),ueb.getGegenkontoName());
    }
    catch (RemoteException re)
    {
      Logger.error("unable to determine job name",re);
      throw new ApplicationException(i18n.tr("Auftragsbezeichnung nicht ermittelbar: {0}",re.getMessage()));
    }
  }
View Full Code Here

      return i18n.tr("{0}: ({1}) {2} {3} als SEPA-Sammel�berweisung absenden",k.getLongName(),r.getBezeichnung(),HBCI.DECIMALFORMAT.format(r.getSumme()),k.getWaehrung());
    }
    catch (RemoteException re)
    {
      Logger.error("unable to determine job name",re);
      throw new ApplicationException(i18n.tr("Auftragsbezeichnung nicht ermittelbar: {0}",re.getMessage()));
    }
  }
View Full Code Here

  protected void insertCheck() throws ApplicationException
  {
    try
    {
      if (StringUtils.trimToNull(this.getUUID()) == null)
        throw new ApplicationException(i18n.tr("Keine UUID angegeben."));

      if (this.getReminder() == null)
        throw new ApplicationException(i18n.tr("Kein Reminder angegeben"));
    }
    catch (RemoteException e)
    {
      Logger.error("error while insertcheck", e);
      throw new ApplicationException(i18n.tr("Fehler bei der Pr�fung der Daten"));
    }
  }
View Full Code Here

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

    if (context == null)
      throw new ApplicationException(i18n.tr("Keine System-Nachricht ausgew�hlt"));

    if (!(context instanceof Nachricht) && !(context instanceof Nachricht[]))
      throw new ApplicationException(i18n.tr("Keine System-Nachricht ausgew�hlt"));

    boolean array = (context instanceof Nachricht[]);

    Nachricht[] list = null;
    if (array)
View Full Code Here

   * @see de.willuhn.jameica.gui.Action#handleAction(java.lang.Object)
   */
  public void handleAction(Object context) throws ApplicationException
  {
    if (context == null || !(context instanceof Konto))
      throw new ApplicationException(i18n.tr("Bitte w�hlen Sie ein Konto aus"));

    final Konto k = (Konto) context;
    try {
      if (!k.hasFlag(Konto.FLAG_OFFLINE))
        throw new ApplicationException(i18n.tr("Bitte w�hlen Sie ein Offline-Konto aus"));

      if (k.isNewObject())
        k.store();
    }
    catch (RemoteException e)
View Full Code Here

      // ignore
    }
    catch (Exception e)
    {
      Logger.error("error while trying to export HBCI trace",e);
      throw new ApplicationException(i18n.tr("Speichern des HBCI-Protokoll fehlgeschlagen: {0}",e.getMessage()));
    }
  }
View Full Code Here

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

    if (context == null)
      throw new ApplicationException(i18n.tr("Bitte w�hlen Sie mindestens einen Umsatz aus"));

    if (!(context instanceof Umsatz) && !(context instanceof Umsatz[]))
      throw new ApplicationException(i18n.tr("Bitte w�hlen Sie einen oder mehrere Ums�tze aus"));

    Umsatz[] u = null;
    try {

      if (context instanceof Umsatz)
View Full Code Here

   * @see de.willuhn.jameica.gui.Action#handleAction(java.lang.Object)
   */
  public void handleAction(Object context) throws ApplicationException
  {
    if (context == null || !(context instanceof SepaLastschrift))
      throw new ApplicationException(i18n.tr("Kein Auftrag angegeben"));

    try
    {
      final SepaLastschrift u = (SepaLastschrift) context;
     
      if (u.ausgefuehrt())
        throw new ApplicationException(i18n.tr("Lastschrift wurde bereits ausgef�hrt"));

      if (u.isNewObject())
        u.store(); // wir speichern bei Bedarf selbst.

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

        Passport p = (Passport) getPassportAuswahl().getValue();
        if (backend != null && backend.equals(hbci)) // Passport gibts nur bei Scripting
        {
          if (p == null)
            throw new ApplicationException(i18n.tr("Bitte w�hlen Sie ein FinTS-Sicherheitsverfahren aus"));
          getKonto().setPassportClass(p.getClass().getName());
        }
        else
        {
          getKonto().setPassportClass(null);
View Full Code Here

TOP

Related Classes of de.willuhn.util.ApplicationException

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.