< Summary

Information
Class: Elsa.Bpmn.Interchange.Exceptions.BpmnExportUnavailableException
Assembly: Elsa.Bpmn.Interchange
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Bpmn.Interchange/Exceptions/BpmnExportUnavailableException.cs
Line coverage
100%
Covered lines: 1
Uncovered lines: 0
Coverable lines: 1
Total lines: 12
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.ctor(...)100%11100%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Bpmn.Interchange/Exceptions/BpmnExportUnavailableException.cs

#LineLine coverage
 1namespace Elsa.Bpmn.Interchange.Exceptions;
 2
 3/// <summary>
 4/// Thrown when a workflow definition cannot be exported as BPMN 2.0 XML because the source this deployment would
 5/// need to write back out is missing or no longer trustworthy.
 6/// </summary>
 7/// <remarks>
 8/// See <see cref="Services.BpmnInterchangeDocumentService"/>'s remarks for the two distinct situations this covers —
 9/// a definition never imported from BPMN (or one whose source a later save dropped), and a definition that has
 10/// changed since it was imported — and why each gets its own message rather than one generic refusal.
 11/// </remarks>
 512public class BpmnExportUnavailableException(string message) : Exception(message);

Methods/Properties

.ctor(System.String)