Interruption description (API) More...
Public Types | |
typedef Exception | Inherit |
Public Member Functions | |
Interruption (const string &reason, int code=0) | |
Interruption (const Interruption &interruption) | |
Interruption & | operator= (const Interruption &interruption) |
Public Member Functions inherited from Hurricane::Exception | |
string | what () const |
string | textWhat () const |
string | htmlWhat () const |
Additional Inherited Members | |
Static Public Member Functions inherited from Hurricane::Exception | |
static void | setTextTranslator (const TextTranslator &translator) |
static void | setHtmlTranslator (const TextTranslator &translator) |
Interruption description (API)
Interruptions are neither errors nor warnings. They are used to suspend a potentially lengthy action (like a display refresh). We could have used errors or warning but it is wiser to use a specific type.
Useful for calling the base class methods without knowing this class.
Hurricane::Interruption::Interruption | ( | const string & | reason, |
int | code = 0 |
||
) |
Builds an interruption characterized by a reason and a code useful within a switch.
Hurricane::Interruption::Interruption | ( | const Interruption & | interruption | ) |
Copy constructor.
Interruption & Hurricane::Interruption::operator= | ( | const Interruption & | interruption | ) |
Assignment operator.
Generated by doxygen 1.9.1 on Thu Aug 11 2022 | Return to top of page |
Hurricane VLSI Database | Copyright © 2000-2020 Bull S.A. All rights reserved |