Autor Beitrag
mettie84
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 21

Win2k, XP SP2, Linux 9.0
D5 standart, D6 Ent, D7 Ent
BeitragVerfasst: Mo 18.10.04 10:08 
Hi. Ich habe folgendes Problem:
Ich möchte beim Verbinden zum Datenbankserver mögliche Fehler(z. B. falscher User, DB nict vorhanden, etc.) abfangen.
ZConnection ruft (zur Enwurfszeit) bei einem Fehler eine Exception vom Typ EZSQLException mit einer Fehlermeldung und einem ErrorCode auf.Wie komme ich an den ErrorCode ran, damit ich meine eigenen Fehlerbehandlungsroutinen einbauen kann? Ich such mir jetzt schon seit ca. 2 Wochen nen Wolf und bin so langsam am verzweifeln.



MfG Matthias

PS: Wäre schön, wenn mir da jemand möglichst schnell helfen könnte.

_________________
Wenn das 0:2 schon gefallen ist, dann ist ein 1:1 nicht mehr möglich