how to throw exception in script functoid?

Home Page Forums BizTalk 2004 – BizTalk 2010 how to throw exception in script functoid?

Viewing 1 reply thread
  • Author
    Posts
    • #14971

      When the element contain empty value, i want the whole transform terminated and throw an exception.

      if (len(inputelement)==0)
      {
      throw new Exception(\”null value not allowed!\”);
      }

      but it doesn’t work….

    • #14972

      Have you tried
      [code:1:2d4a211598]throw new System.Exception(\"null value not allowed!\"); [/code:1:2d4a211598]

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.