Class TCodeBreaker

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TCodeBreaker = class(TObject)

Description

Class to be raised (like an exception) and caught, to exit from some code blocks.

When deriving new TCodeBreaker descendant, specify always where it's caught. It should be caught and silenced (without causing any errors) in appropriate place. This way doing raise BreakXxx.Create is a way to exit from given code part.

This class does not inherit from Exception because it does not signal some errorneous situation (it must always be caught and silenced), also it doesn't need a Message property.

Hierarchy

  • TObject
  • TCodeBreaker

Generated by PasDoc 0.13.0 on 2014-10-26 05:15:15