tagged [exception]

How to create custom exceptions in Java?

How to create custom exceptions in Java? How do we create custom exceptions in Java?

10 Sep at 18:7

In C# how do I define my own Exceptions?

In C# how do I define my own Exceptions? In C# how do I define my own Exceptions?

4 Feb at 14:21

What is the use of "assert" in Python?

What is the use of "assert" in Python? What does `assert` mean? How is it used?

6 Dec at 02:47

Visual Studio 2015 break on unhandled exceptions not working

Visual Studio 2015 break on unhandled exceptions not working Visual studio used to have a specific checkbox to "Break on Un-handled exception". In 2015 this has been removed (or moved somewhere I cann...

Is there anything like .NET's NotImplementedException in Java?

Is there anything like .NET's NotImplementedException in Java? Is there anything like .NET's `NotImplementedException` in Java?

6 Apr at 11:7

When to catch java.lang.Error?

When to catch java.lang.Error? In what situations should one catch `java.lang.Error` on an application?

24 Apr at 17:35

throwing an exception in objective-c/cocoa

throwing an exception in objective-c/cocoa What's the best way to throw an exception in objective-c/cocoa?

31 May at 07:49

Will finally blocks be executed if returning from try or catch blocks in C#? If so, before returning or after?

Will finally blocks be executed if returning from try or catch blocks in C#? If so, before returning or after? No content available!

15 Sep at 06:40

"The type initializer for 'ServiceStack.Text.JsConfig' threw an exception"

"The type initializer for 'ServiceStack.Text.JsConfig' threw an exception" Initialization failed after upgrading Sitefinity project with `ServiceStack.Text.JsConfig`

What happens if both catch and finally blocks throw exception?

What happens if both catch and finally blocks throw exception? What happens if both catch and finally blocks throw exception?

1 Oct at 06:21