Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017 Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
<== Date ==> <== Thread ==>

Subject: Re: [epics-modules/asyn] Throw exception if we can't register interfaces (#43)
From: Eric Norum <wenorum@lbl.gov>
To: "tech-talk@aps.anl.gov Talk" <tech-talk@aps.anl.gov>
Date: Wed, 8 Feb 2017 10:15:50 -0800
Maybe it’s time for the IOC shell to actually look at the return values from the functions it calls.  In conjunction with some sort of equivalent to the UNIX shell ‘-e’ flag it could prevent st.cmd scripts from proceeding in the face of error returns from configuration functions.

On Feb 8, 2017, at 9:53 AM, Mark Rivers <notifications@github.com> wrote:

There are 3 places where I think it is OK to use exceptions now.

  • In constructor when a serious error occurs
  • internally in code where all exceptions will be caught. asynPortDriver does this now.
  • In drivers or plugins where the vendor library throws exceptions. All exceptions must be caught in this case.


Replies:
Re: [epics-modules/asyn] Throw exception if we can't register interfaces (#43) Andrew Johnson
Re: [epics-modules/asyn] Throw exception if we can't register interfaces (#43) Ralph Lange

Navigate by Date:
Prev: Re: MCB-4B Motor WriteInt32 Errors Mark Rivers
Next: DENEX detector with FAST ComTec MCS6A digitzer Hartman, Steven M.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
Navigate by Thread:
Prev: RE: MCB-4B Motor WriteInt32 Errors Mark Rivers
Next: Re: [epics-modules/asyn] Throw exception if we can't register interfaces (#43) Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
ANJ, 14 Feb 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·