Handle exception if external transition to a procedure.

This commit is contained in:
Rich committed 2015-03-10 10:10:56 +00:00
1 parent 3ef663d7e3
commit 7e10163760
3 files changed
+35 -1

No files matched your search

@@ -1367,7 +1367,8 @@ namespace VEPROMS.CSLA.Library
if (!HandleSqlExceptionOnCopy(ex))
{
if (ex.Message.Contains("has External Transitions and has no next step")
|| ex.Message.Contains("has External Transitions to it's children")
|| ex.Message.Contains("has External Transitions to Procedure")
|| ex.Message.Contains("has External Transitions to it's children")
|| ex.Message.Contains("This step has been deleted")
)
throw ex;