Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Custom Exception Framework: Using Enterprise Library Exception Handling Block

, 30 Oct 2008 CPOL
This article demonstrates a working model of a custom Exception block using Enterprise Library Exception Handling Block which is built around MVP architecture.

Microsoft Visual Studio Solution File, Format Version 9.00
# Visual Studio 2005
Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "D:\...\Project.Practice.MVP.Web\", "Project.Practice.MVP.Web\", "{B08B18E0-F3C2-4371-BEAA-98CF43A2BC84}"
	ProjectSection(WebsiteProperties) = preProject
		ProjectReferences = "{D18DE2D6-EC72-4323-A2D6-F816DC4C7416}|Project.Practice.MVP.Presenter.dll;"
		Debug.AspNetCompiler.VirtualPath = "/Project.Practice.MVP.Web"
		Debug.AspNetCompiler.PhysicalPath = "D:\DEMO MVP\Project.Practice.MVP.Web\"
		Debug.AspNetCompiler.TargetPath = "PrecompiledWeb\Project.Practice.MVP.Web\"
		Debug.AspNetCompiler.Updateable = "true"
		Debug.AspNetCompiler.ForceOverwrite = "true"
		Debug.AspNetCompiler.FixedNames = "false"
		Debug.AspNetCompiler.Debug = "True"
		Release.AspNetCompiler.VirtualPath = "/Project.Practice.MVP.Web"
		Release.AspNetCompiler.PhysicalPath = "D:\DEMO MVP\Project.Practice.MVP.Web\"
		Release.AspNetCompiler.TargetPath = "PrecompiledWeb\Project.Practice.MVP.Web\"
		Release.AspNetCompiler.Updateable = "true"
		Release.AspNetCompiler.ForceOverwrite = "true"
		Release.AspNetCompiler.FixedNames = "false"
		Release.AspNetCompiler.Debug = "False"
		VWDPort = "1068"
		DefaultWebSiteLanguage = "Visual C#"
	EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Project.Practice.MVP.Services", "Project.Practice.MVP.Services\Project.Practice.MVP.Services.csproj", "{050356BE-893F-478B-9BBB-733CAA1C22B2}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Project.Practice.MVP.DataAccess", "Project.Practice.MVP.DataAccess\Project.Practice.MVP.DataAccess.csproj", "{EA485536-7C15-4511-8710-EEB9E6AECBAF}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Project.Practice.MVP.Presenter", "Project.Practice.MVP.Presenter\Project.Practice.MVP.Presenter.csproj", "{D18DE2D6-EC72-4323-A2D6-F816DC4C7416}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Project.Practice.MVP.Domain", "Project.Practice.MVP.Domain\Project.Practice.MVP.Domain.csproj", "{94FA8926-271D-4AF3-933C-C583A9E19DAA}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Project.Practice.MVP.ExceptionHandling", "Project.Practice.MVP.ExceptionHandling\Project.Practice.MVP.ExceptionHandling.csproj", "{57F464BB-D153-458C-A68A-BF15003A17AF}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Project.Practice.MVP.Framework", "Project.Practice.MVP.Framework\Project.Practice.MVP.Framework.csproj", "{F3875FBF-4DDD-4877-BFE6-9F66E221351C}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|.NET = Debug|.NET
		Debug|Any CPU = Debug|Any CPU
		Debug|Mixed Platforms = Debug|Mixed Platforms
		Release|.NET = Release|.NET
		Release|Any CPU = Release|Any CPU
		Release|Mixed Platforms = Release|Mixed Platforms
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{B08B18E0-F3C2-4371-BEAA-98CF43A2BC84}.Debug|.NET.ActiveCfg = Debug|.NET
		{B08B18E0-F3C2-4371-BEAA-98CF43A2BC84}.Debug|.NET.Build.0 = Debug|.NET
		{B08B18E0-F3C2-4371-BEAA-98CF43A2BC84}.Debug|Any CPU.ActiveCfg = Debug|.NET
		{B08B18E0-F3C2-4371-BEAA-98CF43A2BC84}.Debug|Mixed Platforms.ActiveCfg = Debug|.NET
		{B08B18E0-F3C2-4371-BEAA-98CF43A2BC84}.Debug|Mixed Platforms.Build.0 = Debug|.NET
		{B08B18E0-F3C2-4371-BEAA-98CF43A2BC84}.Release|.NET.ActiveCfg = Debug|.NET
		{B08B18E0-F3C2-4371-BEAA-98CF43A2BC84}.Release|.NET.Build.0 = Debug|.NET
		{B08B18E0-F3C2-4371-BEAA-98CF43A2BC84}.Release|Any CPU.ActiveCfg = Debug|.NET
		{B08B18E0-F3C2-4371-BEAA-98CF43A2BC84}.Release|Mixed Platforms.ActiveCfg = Debug|.NET
		{B08B18E0-F3C2-4371-BEAA-98CF43A2BC84}.Release|Mixed Platforms.Build.0 = Debug|.NET
		{050356BE-893F-478B-9BBB-733CAA1C22B2}.Debug|.NET.ActiveCfg = Debug|Any CPU
		{050356BE-893F-478B-9BBB-733CAA1C22B2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{050356BE-893F-478B-9BBB-733CAA1C22B2}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{050356BE-893F-478B-9BBB-733CAA1C22B2}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
		{050356BE-893F-478B-9BBB-733CAA1C22B2}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
		{050356BE-893F-478B-9BBB-733CAA1C22B2}.Release|.NET.ActiveCfg = Release|Any CPU
		{050356BE-893F-478B-9BBB-733CAA1C22B2}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{050356BE-893F-478B-9BBB-733CAA1C22B2}.Release|Any CPU.Build.0 = Release|Any CPU
		{050356BE-893F-478B-9BBB-733CAA1C22B2}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
		{050356BE-893F-478B-9BBB-733CAA1C22B2}.Release|Mixed Platforms.Build.0 = Release|Any CPU
		{EA485536-7C15-4511-8710-EEB9E6AECBAF}.Debug|.NET.ActiveCfg = Debug|Any CPU
		{EA485536-7C15-4511-8710-EEB9E6AECBAF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{EA485536-7C15-4511-8710-EEB9E6AECBAF}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{EA485536-7C15-4511-8710-EEB9E6AECBAF}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
		{EA485536-7C15-4511-8710-EEB9E6AECBAF}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
		{EA485536-7C15-4511-8710-EEB9E6AECBAF}.Release|.NET.ActiveCfg = Release|Any CPU
		{EA485536-7C15-4511-8710-EEB9E6AECBAF}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{EA485536-7C15-4511-8710-EEB9E6AECBAF}.Release|Any CPU.Build.0 = Release|Any CPU
		{EA485536-7C15-4511-8710-EEB9E6AECBAF}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
		{EA485536-7C15-4511-8710-EEB9E6AECBAF}.Release|Mixed Platforms.Build.0 = Release|Any CPU
		{D18DE2D6-EC72-4323-A2D6-F816DC4C7416}.Debug|.NET.ActiveCfg = Debug|Any CPU
		{D18DE2D6-EC72-4323-A2D6-F816DC4C7416}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{D18DE2D6-EC72-4323-A2D6-F816DC4C7416}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{D18DE2D6-EC72-4323-A2D6-F816DC4C7416}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
		{D18DE2D6-EC72-4323-A2D6-F816DC4C7416}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
		{D18DE2D6-EC72-4323-A2D6-F816DC4C7416}.Release|.NET.ActiveCfg = Release|Any CPU
		{D18DE2D6-EC72-4323-A2D6-F816DC4C7416}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{D18DE2D6-EC72-4323-A2D6-F816DC4C7416}.Release|Any CPU.Build.0 = Release|Any CPU
		{D18DE2D6-EC72-4323-A2D6-F816DC4C7416}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
		{D18DE2D6-EC72-4323-A2D6-F816DC4C7416}.Release|Mixed Platforms.Build.0 = Release|Any CPU
		{94FA8926-271D-4AF3-933C-C583A9E19DAA}.Debug|.NET.ActiveCfg = Debug|Any CPU
		{94FA8926-271D-4AF3-933C-C583A9E19DAA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{94FA8926-271D-4AF3-933C-C583A9E19DAA}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{94FA8926-271D-4AF3-933C-C583A9E19DAA}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
		{94FA8926-271D-4AF3-933C-C583A9E19DAA}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
		{94FA8926-271D-4AF3-933C-C583A9E19DAA}.Release|.NET.ActiveCfg = Release|Any CPU
		{94FA8926-271D-4AF3-933C-C583A9E19DAA}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{94FA8926-271D-4AF3-933C-C583A9E19DAA}.Release|Any CPU.Build.0 = Release|Any CPU
		{94FA8926-271D-4AF3-933C-C583A9E19DAA}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
		{94FA8926-271D-4AF3-933C-C583A9E19DAA}.Release|Mixed Platforms.Build.0 = Release|Any CPU
		{57F464BB-D153-458C-A68A-BF15003A17AF}.Debug|.NET.ActiveCfg = Debug|Any CPU
		{57F464BB-D153-458C-A68A-BF15003A17AF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{57F464BB-D153-458C-A68A-BF15003A17AF}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{57F464BB-D153-458C-A68A-BF15003A17AF}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
		{57F464BB-D153-458C-A68A-BF15003A17AF}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
		{57F464BB-D153-458C-A68A-BF15003A17AF}.Release|.NET.ActiveCfg = Release|Any CPU
		{57F464BB-D153-458C-A68A-BF15003A17AF}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{57F464BB-D153-458C-A68A-BF15003A17AF}.Release|Any CPU.Build.0 = Release|Any CPU
		{57F464BB-D153-458C-A68A-BF15003A17AF}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
		{57F464BB-D153-458C-A68A-BF15003A17AF}.Release|Mixed Platforms.Build.0 = Release|Any CPU
		{F3875FBF-4DDD-4877-BFE6-9F66E221351C}.Debug|.NET.ActiveCfg = Debug|Any CPU
		{F3875FBF-4DDD-4877-BFE6-9F66E221351C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{F3875FBF-4DDD-4877-BFE6-9F66E221351C}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{F3875FBF-4DDD-4877-BFE6-9F66E221351C}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
		{F3875FBF-4DDD-4877-BFE6-9F66E221351C}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
		{F3875FBF-4DDD-4877-BFE6-9F66E221351C}.Release|.NET.ActiveCfg = Release|Any CPU
		{F3875FBF-4DDD-4877-BFE6-9F66E221351C}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{F3875FBF-4DDD-4877-BFE6-9F66E221351C}.Release|Any CPU.Build.0 = Release|Any CPU
		{F3875FBF-4DDD-4877-BFE6-9F66E221351C}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
		{F3875FBF-4DDD-4877-BFE6-9F66E221351C}.Release|Mixed Platforms.Build.0 = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
EndGlobal

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

santosh poojari
Technical Lead
India India
Whatsup-->Exploring--> MVC/HTML5/Javascript & Virtualization.......!
www.santoshpoojari.blogspot.com

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.141223.1 | Last Updated 30 Oct 2008
Article Copyright 2008 by santosh poojari
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid