Обсуждение: Getting status on login failure

Поиск
Список
Период
Сортировка

Getting status on login failure

От
Andres Olarte
Дата:
Is it possible to get an status code on login failure?  The exception
does return some useful info, but if it's possible to get an error
code, It'll  be easier to show some userfriendly message to the  user
(in spanish, which is another issue).  The code of the exception
always reports 0.

Best Regards,

Andres

Re: Getting status on login failure

От
"Kevin Grittner"
Дата:
Have you tried getSQLState() ?

>>> Andres Olarte <olarte.andres@gmail.com> 10/04/05 3:05 PM >>>
Is it possible to get an status code on login failure?  The exception
does return some useful info, but if it's possible to get an error
code, It'll  be easier to show some userfriendly message to the  user
(in spanish, which is another issue).  The code of the exception
always reports 0.

Best Regards,

Andres

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings