Exception Handling

Unhandled Exceptions bubble up to the WCF WebApi layer and it's default behavior applies - an HttpResponseMessage with status code (500) Internal Server Error is returned.
Workflow Authors may throw an HttpResponseException with whatever status code they choose.

For example, if the workflow wants to reject a request because it is invalid
new HttpResponseException(HttpStatusCode.BadRequest)

Last edited Aug 30, 2011 at 9:58 PM by ronjacobs, version 2


No comments yet.