droolsjbpm/drools — pull request #202 by mswiderski (2013-05-29 16:24:59+00:00)
Title: don't rollback transaction when session was not found

avoid rollbacking transaction when session was not found and just throw runtime exception. This will give the caller (for example runtime manager) to take decision on creating new session in such situation. Exception is dedicated to indicate that session was not found and it extends RuntimeException which should rollback transaction anyway if not handled properly.

Especially valid in environments where transaction is managed outside of jbpm/drools control like CDI/EJB.