|
-
Feb 6th, 2006, 11:22 PM
#1
Thread Starter
Hyperactive Member
Problem in Custom Exception
hi buddies, 
I have written following code in Exception.cs file, now I want to use this custom exception in my project file. say webProject1.aspx.cs
can anybody guide me how do i use this in my project .
project Name is : WritingXML
Namespace is WritingXML
public class baseException : ApplicationException
{
public baseException(string strMessage) : base(strMessage)
{
}
public baseException() : base()
{
}
}
public class ProjectSegmentCreateArgumentException : baseException
{
public ProjectSegmentCreateArgumentException(string strMessage) : base(strMessage)
{
}
public ProjectSegmentCreateArgumentException() : base()
{
}
}
thanks in advancd
PPCC
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|