Forgot your password?

Comment: Re:DRTFA (Score 1) 166

by _Shad0w_ (#47140165) Attached to: After the Sun (Microsystems) Sets, the Real Stories Come Out

I don't know how different Java is to .NET in terms of exceptions, but with .NET you get an SQLException thrown, but the Message property would just contain something succinct like "Incorrect username or password". There are also a properties giving you access to the actual error codes from the SQL Server. You can also still look at the StackTrace property to get the full stack trace if you want.

"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming