Exceptions class provides operation to log most of the exceptions occured in system.

Namespace: DotNetNuke.Services.Exceptions
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
[StandardModuleAttribute]
public sealed class Exceptions
Visual Basic
<StandardModuleAttribute> 
Public NotInheritable Class Exceptions

Remarks

For most developers, there is a hard problem need to face to is that our product will run on many and many servers with much different environment, such as hardware, network, system version, framework version and so on, so there is many of reasons will make our application throw lof of exceptions,even will stop our app to working. so when some error occured, we need a way to find out the reason, we know we need to log all the exception, but the point is how to log useful information, you should log the information what you need to location the code caught the error, but DONOT just log 'ERROR'. so we provide a full support of exception log system. when error occured, we can found the detail information in event log and can locationt the error quickly.

Current we immplement lot of custom exception to use in different levels:

Inheritance Hierarchy

System..::..Object
  DotNetNuke.Services.Exceptions..::..Exceptions

See Also