class documentation

class CPUException(object):

View In Hierarchy

Basic representation of an exception that occurred in the trace

Warnings

This object is not meant to be constructed directly. Use Transition.exception instead.

Examples

>>> # From a transition
>>> reven_server.trace.transition(id).exception # May be None
Method __init__ Undocumented
Property description Property: Textual description of the exception
Method is_related_to_instruction Whether this exception was raised while the CPU was trying to execute an instruction.
Property related_instruction Property: The related Instruction if any, otherwise None.
Method __str__ Undocumented
Method __repr__ Undocumented
Instance Variable _description Undocumented
Instance Variable _instruction Undocumented
def __init__(self, _data):

Undocumented

_description =

Undocumented

_instruction =

Undocumented

@property
description =

Property: Textual description of the exception

Information

ReturnsA string.
def is_related_to_instruction(self):

Whether this exception was raised while the CPU was trying to execute an instruction.

Information

ReturnsA boolean.
@property
related_instruction =

Property: The related Instruction if any, otherwise None.

This exception might have occurred while an instruction was being executed by the CPU. For instance, this is the case when a page fault occurs. In this case, the related instruction has probably not been fully executed.

This property returns this related instruction, or None if there is no related instruction.

Information

ReturnsAn Instruction or None.
def __str__(self):

Undocumented

def __repr__(self):

Undocumented

API Documentation for reven2, generated by pydoctor 21.2.2 at 2021-04-08 12:32:07.