There are many different types of exception and the type differs depending on what caused the error. A majority of exception types are determined by the kernel and are not normally thrown by application code. All exception types, however, can be caught, and it is the developers responsibility to decide which exceptions need to be handled. The exception type is identified using the system enum Exception. Because it is a system enum, it cannot be modified, so users cannot add new exception types.
Exception | Description |
info | Displays informational exceptions; for example, a certain record has been updated. |
warning | Indicates the user has performed an illegal, though nonfatal operation. |
deadlock | Informs the user that the system encountered a deadlock situation in the database. |
error | Indicates a fatal error has occurred and the transaction has stopped. |
internal | Displays Microsoft Dynamics AX 2009 internal development errors. |
break | Indicates that the user has pressed Break or Ctrl+C. |
dderror | Indicates that an error occurred in the DDE-kernel class. |
sequence | Undefined. |
numeric | Indicates that an error has occurred during the use of the str2int, str2int64, or str2num functions. |
CLRError | Indicates that an error has occurred during the use of the CLR functionality. |
CodeAccessSecurity | Indicates that an error has occurred during the use of CodeAccessPermission.demand. |
UpdateConflict | Indicates that an error has occurred in a transaction using Optimistic Concurrency Control, and that the transaction will be retried. |
UpdateConflictNotRecovered | Indicates that an error has occurred in a transaction using Optimistic Concurrency Control, and that the code will not be retried. |