armi.localization.exceptions module¶
Globally accessible exception definitions for better granularity on exception behavior and exception handling behavior
-
exception
armi.localization.exceptions.RangeError(parameter, value, lower=None, upper=None)[source]¶ Bases:
ExceptionException for when a parameter is out of an acceptable range
-
exception
armi.localization.exceptions.InvalidSelectionError(optionsName, selection, optionValues)[source]¶ Bases:
ExceptionException raised when an invalid value was provided when there is a finite set of valid options.
-
exception
armi.localization.exceptions.CcccRecordError[source]¶ Bases:
ExceptionAn error which occurs while reading or writing a CCCC record.
-
exception
armi.localization.exceptions.ReactivityCoefficientNonExistentComponentsInRepresentativeBlock[source]¶ Bases:
ExceptionAn error that can occur when getting Doppler or Temperature reactivity coefficients within the core.
Notes
This can occur when the requested component modification is applied to the core, but the representative blocks within the core do not represented the requested component. For example, if all the representative blocks are generated from fuel and a request to generate the Doppler coefficient for the grid plate is made it is likely that the fuel regions of the core do not have a grid plate component. Since no grid plate is represented by the cross section groupings, the effect on the cross sections cannot be evaluated.
-
exception
armi.localization.exceptions.XSLibraryError[source]¶ Bases:
ExceptionAn error which occurs while merging XSLibrary objects.
-
exception
armi.localization.exceptions.XSGenerationError[source]¶ Bases:
ExceptionAn error which occurs while merging XSLibrary objects.
-
exception
armi.localization.exceptions.IsotxsError[source]¶ Bases:
ExceptionAn error which occurs while reading, writing, or combining ISOTXS files.
-
exception
armi.localization.exceptions.GamisoError[source]¶ Bases:
ExceptionAn error which occurs while reading, writing, or combining GAMISO files.
-
exception
armi.localization.exceptions.CompxsError[source]¶ Bases:
ExceptionAn error which occures while reading, writing, or combining COMPXS files.
-
exception
armi.localization.exceptions.PmatrxError[source]¶ Bases:
ExceptionAn error which occurs while reading, writing, or combining PMATRX files.
-
exception
armi.localization.exceptions.RMFluxPartisnError[source]¶ Bases:
ExceptionAn error which occurs while reading, writing, or combining RMFLUX files.
-
exception
armi.localization.exceptions.RZMFlxPartisnError[source]¶ Bases:
ExceptionAn error which occurs while reading, writing, or combining RZMFLX files.
-
exception
armi.localization.exceptions.StateError[source]¶ Bases:
ExceptionAn error that occurs due to an action or method being invalid due to the state of the object.
-
exception
armi.localization.exceptions.DeprecationError[source]¶ Bases:
ExceptionAn error that occurs after a specific date
-
exception
armi.localization.exceptions.ConsistencyError[source]¶ Bases:
ValueErrorError raised when inputs are not consistent.
-
exception
armi.localization.exceptions.RunLogPromptCancel[source]¶ Bases:
ExceptionAn error that occurs when the user submits a cancel on a runLog prompt which allows for cancellation
-
exception
armi.localization.exceptions.RunLogPromptUnresolvable[source]¶ Bases:
ExceptionAn error that occurs when the current mode enum in armi.__init__ suggests the user cannot be communicated with from the current process.
-
exception
armi.localization.exceptions.InputError(msg)[source]¶ Bases:
ExceptionAN error found in an ARMI input file.
-
property
isFixable¶
-
property
-
exception
armi.localization.exceptions.InputInspectionRequired[source]¶ Bases:
ExceptionAn error that occurs when some inputs have brought up concerns and the user is running in a non-interactive mode to respond
-
exception
armi.localization.exceptions.InputInspectionDiscontinued[source]¶ Bases:
ExceptionAn error that occurs when something interrupts the process of input inspection with the intent of not proceeding
-
exception
armi.localization.exceptions.InputInspectionMalformed[source]¶ Bases:
ExceptionAn error that occurs when the process of input inspection did not resolve all issues in the first pass
-
exception
armi.localization.exceptions.SettingException(msg)[source]¶ Bases:
ExceptionStandardize behavior of setting-family errors
-
exception
armi.localization.exceptions.InvalidSettingsStopProcess(reader)[source]¶ Bases:
armi.localization.exceptions.SettingExceptionException raised when setting file contains invalid settings and user aborts or process is uninteractive
-
exception
armi.localization.exceptions.NonexistentSetting(setting)[source]¶ Bases:
armi.localization.exceptions.SettingExceptionException raised when a non existent setting is asked for
-
exception
armi.localization.exceptions.SettingNameCollision(msg)[source]¶ Bases:
armi.localization.exceptions.SettingExceptionException raise when a setting has already been given the same case-insensitive name
-
exception
armi.localization.exceptions.InvalidSettingDefinition(name, attrs)[source]¶ Bases:
armi.localization.exceptions.SettingExceptionException raised when specials cannot be processed in settings file
-
exception
armi.localization.exceptions.NonexistentSettingsFileError(path)[source]¶ Bases:
armi.localization.exceptions.SettingExceptionSettings file does not exist
-
exception
armi.localization.exceptions.InvalidSettingsFileError(path, customMsgEnd='')[source]¶ Bases:
armi.localization.exceptions.SettingExceptionNot a valid xml or settings file
-
exception
armi.localization.exceptions.InvalidSettingsFileContentsError(path, lastSetting=None, exact_message=None)[source]¶ Bases:
armi.localization.exceptions.SettingExceptionSome setting doesn’t obey the system