EPICS Controls 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  <20172018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: [epics-modules/asyn] Throw exception if we can't register interfaces (#43)
From: Eric Norum <[email protected]>
To: "[email protected] Talk" <[email protected]>
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 <[email protected]> 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  <20172018  2019  2020  2021  2022  2023  2024 
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  <20172018  2019  2020  2021  2022  2023  2024 
ANJ, 21 Dec 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·