Changeset 371b9e2 in sasview for src/sas/sascalc/dataloader/loader_exceptions.py
- Timestamp:
- May 2, 2017 11:24:16 AM (8 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 3ece5dd
- Parents:
- 5d8f9b3
- git-author:
- Jeff Krzywon <krzywon@…> (05/02/17 11:24:16)
- git-committer:
- krzywon <krzywon@…> (05/02/17 11:24:16)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sascalc/dataloader/loader_exceptions.py
rda8bb53 r371b9e2 14 14 15 15 16 class FileContentsException(Exception):16 class DefaultReaderException(Exception): 17 17 """ 18 Exception for files with an associated reader, but with no loadable data.19 This is useful for catching loader or file format issues.18 Exception for files with no associated reader. This should be thrown by 19 default readers only to tell Loader to try the next reader. 20 20 """ 21 21 def __init__(self, e): … … 23 23 24 24 25 class DefaultReaderException(Exception):25 class FileContentsException(Exception): 26 26 """ 27 Exception for files with no associated reader. This should be thrown by28 default readers only to tell Loader to try the next reader.27 Exception for files with an associated reader, but with no loadable data. 28 This is useful for catching loader or file format issues. 29 29 """ 30 30 def __init__(self, e):
Note: See TracChangeset
for help on using the changeset viewer.