Skip to content

Creating a custom exception in Dotnetnuke

January 3, 2011

Hello,

There is a very simple way of creating a custom exception in dotnetnuke. All that you need is the custom text as the error message as shown below.

DotNetNuke.Services.Exceptions.Exceptions.LogException(new Exception(“Error processing information”));

Advertisement
Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.