/// <summary> /// Initializes a new <see cref="MemoryError"/> instance with the given parameters. /// </summary> /// <param name="code">The error code.</param> /// <param name="pc">The current program counter.</param> /// <param name="targetAddress">The address being accessed.</param> /// <param name="width">The width of the operation, in bytes.</param> /// <param name="value">The value being written.</param> public MemoryError(MemoryErrorCode code, uint pc, uint targetAddress, byte width, ulong value) : this(code, pc, null) { this.TargetAddress = targetAddress; this.Width = width; this.Value = value; }
/// <summary> /// Initializes a new <see cref="MemoryError"/> instance with the given parameters. /// </summary> /// <param name="code">The error code.</param> /// <param name="pc">The current program counter.</param> /// <param name="message">An optional message describing the error.</param> public MemoryError( MemoryErrorCode code, uint pc, string message ) : base(message, pc) { this.Code = code; }
/// <summary> /// Initializes a new <see cref="MemoryError"/> instance with the given parameters. /// </summary> /// <param name="code">The error code.</param> /// <param name="pc">The current program counter.</param> public MemoryError( MemoryErrorCode code, uint pc ) : this(code, pc, null) { }
/// <summary> /// Initializes a new <see cref="MemoryError"/> instance with the given parameters. /// </summary> /// <param name="code">The error code.</param> /// <param name="pc">The current program counter.</param> /// <param name="targetAddress">The address being accessed.</param> /// <param name="width">The width of the operation, in bytes.</param> /// <param name="value">The value being written.</param> public MemoryError( MemoryErrorCode code, uint pc, uint targetAddress, byte width, ulong value ) : this(code, pc, null) { this.TargetAddress = targetAddress; this.Width = width; this.Value = value; }
/// <summary> /// Initializes a new <see cref="MemoryError"/> instance with the given parameters. /// </summary> /// <param name="code">The error code.</param> /// <param name="pc">The current program counter.</param> /// <param name="targetAddress">The address being accessed.</param> /// <param name="width">The width of the operation, in bytes.</param> public MemoryError( MemoryErrorCode code, uint pc, uint targetAddress, byte width ) : this(code, pc, null) { this.TargetAddress = targetAddress; this.Width = width; }
/// <summary> /// Initializes a new <see cref="MemoryError"/> instance with the given parameters. /// </summary> /// <param name="code">The error code.</param> /// <param name="pc">The current program counter.</param> /// <param name="targetAddress">The address being accessed.</param> /// <param name="width">The width of the operation, in bytes.</param> public MemoryError(MemoryErrorCode code, uint pc, uint targetAddress, byte width) : this(code, pc, null) { this.TargetAddress = targetAddress; this.Width = width; }
/// <summary> /// Initializes a new <see cref="MemoryError"/> instance with the given parameters. /// </summary> /// <param name="code">The error code.</param> /// <param name="pc">The current program counter.</param> /// <param name="message">An optional message describing the error.</param> public MemoryError(MemoryErrorCode code, uint pc, string message) : base(message, pc) { this.Code = code; }
/// <summary> /// Initializes a new <see cref="MemoryError"/> instance with the given parameters. /// </summary> /// <param name="code">The error code.</param> /// <param name="pc">The current program counter.</param> public MemoryError(MemoryErrorCode code, uint pc) : this(code, pc, null) { }