Home
last modified time | relevance | path

Searched refs:RecoverableException (Results 1 – 25 of 192) sorted by relevance

12345678

/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Exceptions/
DRecoverableException.cs12 public class RecoverableException : Exception class
14 public RecoverableException(Exception innerException) : base(String.Empty, innerException) in RecoverableException() method in Antmicro.Renode.Exceptions.RecoverableException
18 …public RecoverableException(string message, Exception innerException) : base(message, innerExcepti… in RecoverableException() method in Antmicro.Renode.Exceptions.RecoverableException
22 public RecoverableException(string message):base(message) in RecoverableException() method in Antmicro.Renode.Exceptions.RecoverableException
26 public RecoverableException():base() in RecoverableException() method in Antmicro.Renode.Exceptions.RecoverableException
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Core/Extensions/
DFileLoaderExtensions.cs51 …throw new RecoverableException(string.Format("Exception while loading file {0}: {1}", fileName, e.… in LoadBinary()
76 …throw new RecoverableException($"Unexpected data after the end of file marker at line #{lineNum}"); in LoadHEX()
81 … throw new RecoverableException($"Line is too short error at line #{lineNum}."); in LoadHEX()
88 …throw new RecoverableException($"Parsing error at line #{lineNum}: {line}. Could not parse header"… in LoadHEX()
94 … throw new RecoverableException($"Parsing error at line #{lineNum}: {line}. Line too short"); in LoadHEX()
107 …throw new RecoverableException($"Parsing error at line #{lineNum}: {line}. Could not parse bytes"); in LoadHEX()
116 …throw new RecoverableException($"Parsing error at line #{lineNum}: {line}. Could not parse extende… in LoadHEX()
123 …throw new RecoverableException($"Parsing error at line #{lineNum}: {line}. Could not parse startin… in LoadHEX()
135 …throw new RecoverableException($"Parsing error at line #{lineNum}: {line}. Could not parse extende… in LoadHEX()
143 …throw new RecoverableException($"Parsing error at line #{lineNum}: {line}. Could not parse startin… in LoadHEX()
[all …]
DMemoryDumpExtensions.cs44 … throw new RecoverableException($"Exception while saving to file {fileName}: {e.Message}"); in DumpBinary()
66 throw new RecoverableException($"Invalid '{nameof(addressOption)}' value"); in DumpHEX()
71 throw new RecoverableException("Hex format is limited to 4GiB addressing"); in DumpHEX()
92 … throw new RecoverableException($"Exception while saving to file {fileName}: {e.Message}"); in DumpHEX()
151 throw new RecoverableException($"'{nameof(size)}' must be greater than zero"); in AssertArguments()
155 throw new RecoverableException($"'{nameof(offset)}' is outside of memory"); in AssertArguments()
159 … throw new RecoverableException($"'{nameof(size)}' is too big, region is outside of memory"); in AssertArguments()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/
DFilePath.cs33 throw new RecoverableException($"File does not exist: {path}"); in Validate()
42 throw new RecoverableException($"File is not readable: {path}"); in Validate()
46 throw new RecoverableException($"File is not writable: {path}"); in Validate()
52 throw new RecoverableException($"Error while accessing {path}: {e.Message}"); in Validate()
148 throw new RecoverableException($"File {path} could not be created"); in Validate()
172 throw new RecoverableException($"File {path} could not be created"); in Validate()
180 throw new RecoverableException($"{path} is an invalid path"); in Validate()
202 … throw new RecoverableException($"Error occured while moving old file to {newPath}: {e.Message}"); in Validate()
209 throw new RecoverableException($"File {newPath} could not be created"); in Validate()
DELFUtils.cs21 throw new RecoverableException($"Could not load ELF from path: {fileName}"); in LoadELF()
28 throw new RecoverableException($"Error while loading ELF: {e.Message}", e); in LoadELF()
DAdHocCompiler.cs58 throw new RecoverableException($"Could not compile assembly: {e.Message}"); in Compile()
63 … throw new RecoverableException($"There were compilation errors:\n{(errorOutput.ToString())}"); in Compile()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Tests/UnitTests/
DSVDParserTests.cs31 Assert.Throws<RecoverableException>(() => in ShouldThrowOnNonexistingFile()
41 Assert.Throws<RecoverableException>(() => in ShouldThrowOnEmptyFile()
50 Assert.Throws<RecoverableException>(() => in ShouldThrowOnInvalidXml()
59 Assert.Throws<RecoverableException>(() => in ShouldThrowOnInvalidSvd()
71 Assert.Throws<RecoverableException>(() => in ShouldThrowOnDeviceWithNoMandatoryFields()
83 Assert.Throws<RecoverableException>(() => in ShouldThrowOnDeviceWithNoPeripheralsTag()
96 Assert.Throws<RecoverableException>(() => in ShouldThrowOnDeviceWithNotEveryMandatoryField()
111 Assert.Throws<RecoverableException>(() => in ShouldThrowOnCpuWithoutEndianness()
129 Assert.Throws<RecoverableException>(() => in ShouldThrowOnPeripheralWithNotEveryMandatoryField()
145 Assert.Throws<RecoverableException>(() => in ShouldThrowOnClusterWithoutMandatoryFields()
[all …]
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Plugins/
DPluginManager.cs46 …throw new RecoverableException(string.Format("Plugin {0} is not suitable for any of available mode… in EnablePlugin()
92 catch(RecoverableException e) in Init()
103 …throw new RecoverableException(string.Format("This plugin cannot be disabled directly: {0}.", plug… in DisablePlugin()
110 … throw new RecoverableException(string.Format("There is no plugin named {0}.", plugin.FullName)); in DisablePlugin()
137 …throw new RecoverableException(string.Format("This plugin cannot be enabled directly: {0}.", plugi… in EnablePlugin()
143 … throw new RecoverableException(string.Format("There is no plugin named {0}.", plugin.FullName)); in EnablePlugin()
155 …throw new RecoverableException("Plugin {0} not found.".FormatWith(referencedPlugin.GetFullNameOfMe… in EnablePlugin()
159 …throw new RecoverableException("Circular plugin dependency between {0} and {1}.".FormatWith(plugin… in EnablePlugin()
187 throw new RecoverableException("Malformed plugin name \"{0}\"".FormatWith(name)); in FindPluginFromName()
191 … throw new RecoverableException(string.Format("There is no plugin named {0}.", name)); in FindPluginFromName()
[all …]
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/CPU/
DTranslationCPU_Profiler.cs38 …throw new RecoverableException($"There was an error when preparing the profiler output file {filen… in EnableProfiler()
50 throw new RecoverableException($"{type} is not a valid profiler output type"); in EnableProfiler()
72 throw new RecoverableException("The profiler is not enabled on this core"); in DisableProfiler()
85 throw new RecoverableException("The profiler is not enabled on this core"); in FlushProfiler()
95 throw new RecoverableException("The profiler is not enabled on this core"); in GetProfilerStack()
DTranslationCPU_OpcodesCounting.cs32 … throw new RecoverableException("Currently only 16 and 32-bit opcode patterns are supported"); in InstallOpcodeCounterPattern()
46 throw new RecoverableException($"Opcode '{name}' already registered"); in InstallOpcodeCounterPattern()
52 throw new RecoverableException("Could not install opcode counter pattern"); in InstallOpcodeCounterPattern()
63 throw new RecoverableException($"Couldn't find the {name} opcode"); in GetOpcodeCounter()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/
DEmulator.cs36 catch (RecoverableException) in Exit()
51 …throw new RecoverableException("This feature is available only with interactive Robot tests debug"… in OpenGUI()
60 …throw new RecoverableException("This feature is available only with interactive Robot tests debug"… in CloseGUI()
87 throw new RecoverableException("User interface provider not set");
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/RiscV/
DRiscvOpcodesParser.cs45 …throw new RecoverableException($"Couldn't load the {name} resource - please choose from:\n{availab… in EnableRiscvOpcodesCountingFromEmbeddedResource()
69 throw new RecoverableException($"Unsupported CPU type: {cpu.GetType()}"); in EnableRiscvOpcodesCounting()
74 …throw new RecoverableException($"Opcodes counting for the {instructionSet} extension not supported… in EnableRiscvOpcodesCounting()
82 …throw new RecoverableException($"Couldn't load the {resourceName} resource - this might indicate a… in EnableRiscvOpcodesCounting()
138 …throw new RecoverableException($"There was na error when parsing RISC-V opcodes from {file}:\n{e.M… in Parse()
161 throw new RecoverableException($"Couldn't split line: {lineContent}"); in ParseLine()
176 throw new RecoverableException($"Couldn't parse range: {parts[0]}"); in ParseLine()
181 throw new RecoverableException($"Couldn't parse value: {parts[1]}"); in ParseLine()
186 …throw new RecoverableException($"Couldn't apply value {value} in range {range} to pattern {pattern… in ParseLine()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/UserInterface/Commands/
DLastLogCommand.cs44 …throw new RecoverableException($"The number of entries cannot be larger than {MemoryBackend.MaxCou… in PrintLastLogs()
49 throw new RecoverableException("Could not get memory backend"); in PrintLastLogs()
55 throw new RecoverableException("Memory backend of unexpected type"); in PrintLastLogs()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/UserInterface/
DMonitorPythonEngine.cs85 throw new RecoverableException($"Invalid argument {firstArgument} at position 1"); in ExecuteBuiltinCommand()
94 …throw new RecoverableException($"Invalid keyword argument {argument} at position {parametersLength… in ExecuteBuiltinCommand()
114 …throw new RecoverableException($"Command '{command_name} {String.Join(" ", parameters)}' failed", … in ExecuteBuiltinCommand()
135 throw new RecoverableException(String.Format("Line : {0}\n{1}", e.Line, e.Message)); in ExecutePythonCommand()
148 throw new RecoverableException($"No such emulation element: {value}"); in GetTokenValue()
162 throw new RecoverableException(e); in ExecutePythonScriptInner()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/Sensor/
DSensorSamplesPacket.cs54 … throw new Exceptions.RecoverableException($"Broken Sensor Samples file: {path}"); in ParseFile()
65 …throw new Exceptions.RecoverableException($"Sensor Samples file ends in the middle of a sample: {p… in ParseFile()
69 throw new Exceptions.RecoverableException($"Invalid type: {type}"); in ParseFile()
98 … throw new Exceptions.RecoverableException($"Invalid value size: {valueSize}B"); in ParseSampleValues()
DSensorSamplesFifo.cs49 throw new RecoverableException($"Invalid delay: {delayString}"); in FeedSamplesPeriodically()
69 throw new RecoverableException($"Invalid delay: {delayString}"); in FeedSamplesFromBinaryFile()
178 … throw new RecoverableException($"Wrong data file format at line {lineNumber}: {line}"); in ParseSamplesFile()
186 if(e is RecoverableException) in ParseSamplesFile()
191 … throw new RecoverableException($"There was a problem when reading samples file: {e.Message}"); in ParseSamplesFile()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Analog/
DEOSS3_ADC.cs31 throw new RecoverableException("Only channels 0/1 are supported"); in FeedSample()
42 throw new RecoverableException("Only channels 0/1 are supported"); in FeedSample()
77 …throw new RecoverableException($"Wrong data file format at line {lineNumber}. Expected an unsigned… in ParseSamplesFile()
86 if(e is RecoverableException) in ParseSamplesFile()
92 throw new RecoverableException(e.Message); in ParseSamplesFile()
DADCChannel.cs121 …throw new RecoverableException($"Wrong data file format at line {lineNumber}. Expected an unsigned… in ParseSamplesFile()
130 if(e is RecoverableException) in ParseSamplesFile()
136 throw new RecoverableException(e.Message); in ParseSamplesFile()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Storage/
DVirtIOFSDevice.cs42 throw new RecoverableException("Missing filesystem socket path"); in Create()
46 throw new RecoverableException("Missing tag property"); in Create()
50 throw new RecoverableException("num-request-queues property must be larger than 0"); in Create()
54 throw new RecoverableException("queue-size property must be a power of 2"); in Create()
58 …throw new RecoverableException(String.Format("queue-size property must be {0} or smaller", Virtque… in Create()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/Arm64/
DARMv8R.cs67 …throw new RecoverableException("Available Exception Levels can only be set before starting the sim… in SetAvailableExceptionLevels()
76 …throw new RecoverableException($"The '{Model}' core doesn't support all the enabled Exception Leve… in SetAvailableExceptionLevels()
137 … throw new RecoverableException("Registering TCM regions might only take place on paused machine"); in RegisterTCMRegion()
153 throw new RecoverableException(e); in RegisterTCMRegion()
274 throw new RecoverableException("Use '<cpu_name> PSTATE' to access NZCV."); in ValidateSystemRegisterAccess()
283 … throw new RecoverableException($"{accessName} the {name} register isn't supported."); in ValidateSystemRegisterAccess()
285 throw new RecoverableException("No such register."); in ValidateSystemRegisterAccess()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/Network/
DEmulatedNetworkService.cs22 …throw new RecoverableException($"Type '{typeName}' not found when creating emulated network servic… in CreateEmulatedNetworkService()
32 throw new RecoverableException("Failed to create emulated network service", e); in CreateEmulatedNetworkService()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Core/Structure/Registers/
DRegisterCollection.cs266 … throw new RecoverableException($"Before-read hook for 0x{offset:X} is already registered"); in AddBeforeReadHook()
284 … throw new RecoverableException($"After-read hook for 0x{offset:X} is already registered"); in AddAfterReadHook()
302 … throw new RecoverableException($"Before-write hook for 0x{offset:X} is already registered"); in AddBeforeWriteHook()
318 … throw new RecoverableException($"After-write hook for 0x{offset:X} is already registered"); in AddAfterWriteHook()
331 throw new RecoverableException("Before-read hook for 0x{0:X} doesn't exist"); in RemoveBeforeReadHook()
344 throw new RecoverableException("After-read hook for 0x{0:X} doesn't exist"); in RemoveAfterReadHook()
357 throw new RecoverableException("Before-write hook for 0x{0:X} doesn't exist"); in RemoveBeforeWriteHook()
370 throw new RecoverableException("After-write hook for 0x{0:X} doesn't exist"); in RemoveAfterWriteHook()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/UserInterface/Tokenizer/
DTokenizationResult.cs21 … TokenizationResult(int unmatchedCharactersLeft, IEnumerable<Token> tokens, RecoverableException e) in TokenizationResult()
30 public RecoverableException Exception { get; private set; }
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/Wireless/
DSlipRadio.cs31 throw new RecoverableException("Creating SlipRadio is not supported on Windows."); in CreateSlipRadio()
87 …throw new RecoverableException(string.Format("There was an error when removing symlink `{0}': {1}"… in Dispose()
199 …throw new RecoverableException(string.Format("There was an error when removing existing `{0}' syml… in CreateSymlink()
209 …throw new RecoverableException(string.Format("There was an error when when creating a symlink `{0}… in CreateSymlink()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/HostInterfaces/Camera/
DHostCamera.cs36 … throw new RecoverableException("Host camera integration is currently available on Linux only"); in HostCamera()
85 … throw new RecoverableException("There is no frame to save. Please grab some and try again"); in SaveLastFrame()
94 … throw new RecoverableException($"There was a problem when saving the last frame: {e.Message}"); in SaveLastFrame()
103 … throw new RecoverableException("There was an error when setting image size. See log for details"); in SetImageSize()
133 … throw new RecoverableException("Couldn't initialize host camera - see logs for details."); in InitCamera()

12345678