I got this error myself when I try to design my own exception handlling strategy in the orchestration.
The BizTalk 2006 document is better. There is a “caution” section says:
Do not select GeneralException in the Throw Exception shape. This type should only be used for rethrowing exceptions in a Catch Exception block.
The error I got is because I'm trying to do a quick and dirty test with a GeneralException.
What should you do? It's simple.
- Create a variable.
- Give it a .NET type System.Exception. (You should find it in mscorlib assembly)
- Assign this variable to your Throw Exception's Exception Object property.
- Enjoy it.