What is the C# equivalent to Java's Throwable
?
In Java, the root of the exception class hierarchy is called Throwable
, not Exception
. The Throwable
base class has two derived classes:
Exception
: for conditions that a reasonable application might want to catch.
Error
: for serious problems that a reasonable program should not try to catch.
So the Throwable
base class includes problems that a reasonable program should not try to catch.
C programming language is a machine-independent programming language that is mainly used to create many types of applications and operating systems such as Windows, and other complicated programs such as the Oracle database, Git, Python interpreter, and games and is considered a programming foundation in the process of ...
What Does C Programming Language (C) Mean? C is a high-level and general-purpose programming language that is ideal for developing firmware or portable applications. Originally intended for writing system software, C was developed at Bell Labs by Dennis Ritchie for the Unix Operating System in the early 1970s.
Often dates will be preceded with a "c." or a "ca." These are abbreviations of the Latin word "circa" which means around, or approximately. We use this before a date to indicate that we do not know exactly when something happened, so c. 400 B.C.E. means approximately 400 years Before the Common Era.
C is a powerful general-purpose programming language. It can be used to develop software like operating systems, databases, compilers, and so on. C programming is an excellent language to learn to program for beginners.
That would be the Exception class. There is no separate "throwable" concept aside from exceptions in .NET.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With