The TOracleLogon handles ORA-28001 (the password has expired) and ORA-28002 (the password will expire within n days). ORA-28011 (the account will expire soon; change your password now) is not handled. I guess it should have been handled exactly the same as ORA28002. We will fix this for 4.0.2.