Class Panic

Class Panic

Placement in the overall structure

Module
device
Base class
Gate
Derived classes
None
Time of creation
Task 2
Files
panic.h panic.cc

Description

Class Panic is the default handler for interrupts and exceptions. After printing an error message, it halts the processor. When the Plugbox is initialized, this type of interrupt handling is entered for all interrupt numbers.

Public methods

void trigger()
Prints an error message and stops the CPU.