Introduce four custom exceptions (BurnAnnotationException, CreateReportException, ExportDocumentException, MergeDocumentException) under EnvelopeGenerator.ServiceHost.Exceptions for improved error handling. Update the project file to include the new Extensions folder.
13 lines
318 B
C#
13 lines
318 B
C#
namespace EnvelopeGenerator.ServiceHost.Exceptions;
|
|
|
|
public class ExportDocumentException : ApplicationException
|
|
{
|
|
public ExportDocumentException(string message) : base(message)
|
|
{
|
|
}
|
|
|
|
public ExportDocumentException(string message, Exception innerException) : base(message, innerException)
|
|
{
|
|
}
|
|
}
|