Skip to content
TomCrypto edited this page Dec 17, 2014 · 1 revision

You should avoid throwing exceptions from within delegates subscribed to Changed, Click and Validating events. The reason for this is because they can be called from native code, and the result of throwing a managed exception inside an unmanaged callback is implementation-defined. It is recommended instead to log any exception and safely return.


  • High-level wrapper
  • Integration
    • [Event handling](Event handling)
    • [Organizing variables](Organizing variables)
    • [Error handling](Error handling)
    • Scripting
    • [Exception safety](Exception safety)
    • [Thread safety](Thread safety)
  • Technical manual
    • Context
    • Bar
    • Group
    • IntVariable
    • FloatVariable
    • DoubleVariable
    • BoolVariable
    • EnumVariable
    • StringVariable
    • ColorVariable
    • Color4Variable
    • VectorVariable
    • QuaternionVariable
    • StructVariable
    • Button
    • Separator
    • ...
  • [Low-level wrapper](Low-level wrapper)
Clone this wiki locally