The following exceptions are thrown by certain C# operations.
2006-08-04 22:39
387 查看
The following exceptions are thrown by certain C# operations.
System.ArithmeticException
A base class for exceptions that occur during
arithmetic operations, such as
System.DivideByZeroException and
System.OverflowException.
System.ArrayTypeMismatchException
Thrown when a store into an array fails because the
actual type of the stored element is incompatible
with the actual type of the array.
System.DivideByZeroException
Thrown when an attempt to divide an integral
value by zero occurs.
System.IndexOutOfRangeException
Thrown when an attempt to index an array via an
index that is less than zero or outside the bounds of
the array.
System.InvalidCastException
Thrown when an explicit conversion from a base
type or interface to a derived type fails at run time.
System.NullReferenceException
Thrown when a null reference is used in a way
that causes the referenced object to be required.
System.OutOfMemoryException
Thrown when an attempt to allocate memory (via
new) fails.
System.OverflowException
Thrown when an arithmetic operation in a
checked context overflows.
System.StackOverflowException
Thrown when the execution stack is exhausted by
having too many pending method calls; typically
indicative of very deep or unbounded recursion.
System.TypeInitializationException
Thrown when a static constructor throws an
exception, and no catch clauses exists to catch it.
System.ArithmeticException
A base class for exceptions that occur during
arithmetic operations, such as
System.DivideByZeroException and
System.OverflowException.
System.ArrayTypeMismatchException
Thrown when a store into an array fails because the
actual type of the stored element is incompatible
with the actual type of the array.
System.DivideByZeroException
Thrown when an attempt to divide an integral
value by zero occurs.
System.IndexOutOfRangeException
Thrown when an attempt to index an array via an
index that is less than zero or outside the bounds of
the array.
System.InvalidCastException
Thrown when an explicit conversion from a base
type or interface to a derived type fails at run time.
System.NullReferenceException
Thrown when a null reference is used in a way
that causes the referenced object to be required.
System.OutOfMemoryException
Thrown when an attempt to allocate memory (via
new) fails.
System.OverflowException
Thrown when an arithmetic operation in a
checked context overflows.
System.StackOverflowException
Thrown when the execution stack is exhausted by
having too many pending method calls; typically
indicative of very deep or unbounded recursion.
System.TypeInitializationException
Thrown when a static constructor throws an
exception, and no catch clauses exists to catch it.
相关文章推荐
- When install ”matplotlib” with ”pip”, if you get the following error, it means the “freetype” and “png” libraries needed by matplotlib are not installed:
- The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
- git The following paths are ignored by one of your .gitignore files:
- Solve VS2010 Error "Exceptions has been thrown by the target of an invocation"
- (NOT CLEAR)Question 45: Which of the following options are returned by the typeid operator in C++?
- C#解决微信支付Exception has been thrown by the target of an invocation(调用的目标发生了异常)的问题
- Git: The following paths are ignored by one of your .gitignore files: xxx.dll
- The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact
- Git pull error:Your local changes to the following files would be overwritten by merge解决方法
- global.asax Application_Error method does not catch exceptions thrown by ASMX service?
- Tomcat连接池报错:DBCP object created by the following code was never closed
- mac idea 运行项目报错 Error: Exception thrown by the agent : java.net.MalformedURLException: Local host na
- how websites are perceived by their visitors and the basic ways in which websites can be constructed.
- One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding y
- DBCP object created 日期 by the following code was never closed:
- The following changes are necessary to perform the refactoring
- 解决error: Your local changes to the following files would be overwritten by merge
- 正解:git push 报:does not match your user account.&&The following addresses are currently registered
- :error: The following untracked working tree files would be overwritten by checkout
- Caused by: com.mysql.cj.core.exceptions.InvalidConnectionAttributeException: The server time zone...