Experimental Physics and Industrial Control System
|
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.
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>
2018
2019
2020
2021
2022
2023
2024
2025
2026
- 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>
2018
2019
2020
2021
2022
2023
2024
2025
2026
|
|
ANJ, 21 Dec 2017 |
·
Home
·
News
·
About
·
Talk
·
Base
·
Modules
·
Extensions
·
·
Distributions
·
Download
·
Documents
·
Links
·
Licensing
·
|