About This eBook by Bart De Smet

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

O'Reilly logo

Causes of Exceptions

Different situations give rise to exceptions:

Image Code defects, such as forgetting null checks causing NullReferenceExceptions or passing invalid arguments to some method that signals the defect using an ArgumentException or variation thereof.

Image Runtime disasters that prevent the CLR’s execution engine from continuing execution; for example, due to insufficient memory (OutOfMemoryException) or a stack overflow.

Image Error conditions in ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required