[kepler-users] Running a DOE inside of Kepler

Edward A. Lee eal at eecs.berkeley.edu
Tue Mar 13 13:06:12 PDT 2012


You can create an object in a model that implements the ExceptionHandler
interface. An example is the TestExceptionHandler actor, which is
used in regression tests. Offhand, I'm not sure whether there are other
examples.

Edward


On 3/13/12 12:31 PM, Hogan, D. (GE Energy) wrote:
> Is anyone running a large DOE inside of Kepler where you expect some
> failures?  I need Kepler to stop executing a particular point no matter
> how it fails.  However, it should always continue with the next point.
> What is the best way to handle this?
>
>  From what I have read , the way to signal errors in Kepler is through
> handleModelError() or throwing an IllegalActionException.  The former is
> used when you want to be able to recover in the workflow hierarchy.  If
> everything used model errors, this would be easy to handle in a
> composite actor.  However, there are cases where I need to handle
> IllegalActionException too.  For instance,
> ptolemy.actor.lib.io.FileReader will throw an exception when it cannot
> read the File/URL.  That should only kill a single point rather than the
> whole DOE.
> _______________________________________________
> Kepler-users mailing list
> Kepler-users at kepler-project.org
> http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: eal.vcf
Type: text/x-vcard
Size: 330 bytes
Desc: not available
URL: <http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-users/attachments/20120313/6017a30e/attachment.vcf>


More information about the Kepler-users mailing list