Category "exception"

Tracking "hidden" exceptions

I am inspecting the output of a program of mine where from time to time I see a message like "java.lang.NullPointerException" and nothing else. Because this doe

Adding information to an exception?

I want to achieve something like this: def foo(): try: raise IOError('Stuff ') except: raise def bar(arg1): try: foo() exce

How do I solve SecurityNegotiationException and InvalidCredentialException in WCF

So I've written a small game and wish for the game to be playable over the internet. I've been testing the game just through localhost using these configs: Cl

org.hibernate.QueryParameterException: could not locate named parameter [userId]

I need help, I am getting the aforementioned exception. Where am I going wrong? In the mapping from class to table, I have used the following: private String u

Verifying ArgumentException and its message in Nunit , C#

In my test program in Nunit, I want to verify that it's getting the write Argument Exception by verifying the message. [Test] public void ArgumentsWork

Difference between Unchecked exception or runtime exception

This was an interview question. What is the main difference between unchecked exception and error as both are not caught? They will terminate the program.

Difference between Unchecked exception or runtime exception

This was an interview question. What is the main difference between unchecked exception and error as both are not caught? They will terminate the program.

Difference between Unchecked exception or runtime exception

This was an interview question. What is the main difference between unchecked exception and error as both are not caught? They will terminate the program.