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![]()



Reply With Quote
