Handle exception if external transition to a procedure.

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

View File

@@ -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;