(
self,
qname,
condition,
expression,
notify_on_handled_exceptions,
notify_on_unhandled_exceptions,
notify_on_user_unhandled_exceptions,
notify_on_first_raise_only,
ignore_libraries,
)
| 6 | |
| 7 | class ExceptionBreakpoint(object): |
| 8 | def __init__( |
| 9 | self, |
| 10 | qname, |
| 11 | condition, |
| 12 | expression, |
| 13 | notify_on_handled_exceptions, |
| 14 | notify_on_unhandled_exceptions, |
| 15 | notify_on_user_unhandled_exceptions, |
| 16 | notify_on_first_raise_only, |
| 17 | ignore_libraries, |
| 18 | ): |
| 19 | exctype = get_exception_class(qname) |
| 20 | self.qname = qname |
| 21 | if exctype is not None: |
| 22 | self.name = exctype.__name__ |
| 23 | else: |
| 24 | self.name = None |
| 25 | |
| 26 | self.condition = condition |
| 27 | self.expression = expression |
| 28 | self.notify_on_unhandled_exceptions = notify_on_unhandled_exceptions |
| 29 | self.notify_on_handled_exceptions = notify_on_handled_exceptions |
| 30 | self.notify_on_first_raise_only = notify_on_first_raise_only |
| 31 | self.notify_on_user_unhandled_exceptions = notify_on_user_unhandled_exceptions |
| 32 | self.ignore_libraries = ignore_libraries |
| 33 | |
| 34 | self.type = exctype |
| 35 | |
| 36 | def __str__(self): |
| 37 | return self.qname |
nothing calls this directly
no test coverage detected