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
315 B
C#
13 lines
315 B
C#
namespace EnvelopeGenerator.ServiceHost.Exceptions;
|
|
|
|
public class MergeDocumentException : ApplicationException
|
|
{
|
|
public MergeDocumentException(string message) : base(message)
|
|
{
|
|
}
|
|
|
|
public MergeDocumentException(string message, Exception innerException) : base(message, innerException)
|
|
{
|
|
}
|
|
}
|