I have created custom exception class
public class Web2PDFException : Exception
{
public Web2PDFException(string message,
Exception innerException)
: base(message, innerException)
{
}
}
in my application I want to find out is throw exception is my custom exception or not.
try
{
}
catch (Exception err)
{
//Find exception type here
}