AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

Indy-Exceptions

Ein Thema von 3_of_8 · begonnen am 21. Okt 2006 · letzter Beitrag vom 22. Okt 2006
Antwort Antwort
Benutzerbild von 3_of_8
3_of_8

Registriert seit: 22. Mär 2005
Ort: Dingolfing
4.129 Beiträge
 
Turbo Delphi für Win32
 
#1

Indy-Exceptions

  Alt 21. Okt 2006, 23:54
Morgen.

Indy wirft ja ständig so Pseudo-Exceptions wie "Connection closed gracefully." oder "Disconnected."

Da Indy in einem eigenen Thread läuft, kann ich diese Exceptions auch nicht mit try-except abfangen. Wie verhindere ich trotzdem, dass sie "nach oben" durchkommen?
Manuel Eberl
„The trouble with having an open mind, of course, is that people will insist on coming along and trying to put things in it.“
- Terry Pratchett
  Mit Zitat antworten Zitat
Dax
(Gast)

n/a Beiträge
 
#2

Re: Indy-Exceptions

  Alt 22. Okt 2006, 00:00
Im Debugger? Bei den Debuggeroptionen als "ignored" eintragen.
  Mit Zitat antworten Zitat
Benutzerbild von 3_of_8
3_of_8

Registriert seit: 22. Mär 2005
Ort: Dingolfing
4.129 Beiträge
 
Turbo Delphi für Win32
 
#3

Re: Indy-Exceptions

  Alt 22. Okt 2006, 00:06
Ich dachte dann wird die Exception nur vom Debugger ignoriert, aber der Benutzer sieht sie trotzdem... Ich werds mal ausprobieren unt TIdException als ignored eintragen... Danke...

(Schon ne Sauerei, Exceptions zur Steuerung des Programmflusses zu missbrauchen... Vergewaltigung von Sprachfeatures nenne ich das... Dass sowas nicht bestraft wird... )
Manuel Eberl
„The trouble with having an open mind, of course, is that people will insist on coming along and trying to put things in it.“
- Terry Pratchett
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 09:11 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz