Changeset c5e1aa6


Ignore:
Timestamp:
Apr 2, 2025, 11:17:02 PM (3 weeks ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
6b765d5
Parents:
9aa8dcc
Message:

update abort messages for exception handling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified libcfa/src/concurrency/exception.cfa

    r9aa8dcc rc5e1aa6  
    99// Author           : Andrew Beach
    1010// Created On       : Mon Aug 17 10:41:00 2020
    11 // Last Modified By : Andrew Beach
    12 // Last Modified On : Wed Oct 28 14:34:00 2020
    13 // Update Count     : 1
     11// Last Modified By : Peter A. Buhr
     12// Last Modified On : Wed Sep 25 17:25:37 2024
     13// Update Count     : 15
    1414//
    1515
     
    4646
    4747STOP_AT_END_FUNCTION(main_cancelstop,
    48         abort();
     48        abort(
     49                "Propagation failed to find a matching handler.\n"
     50                "Possible cause is a missing try block with appropriate catch clause for the specified or derived exception type.\n"
     51                "Last exception name or message: %%s.\n"
     52//              NODE_TO_EXCEPT( UNWIND_TO_NODE( unwind_exception ) )->
     53//                      virtual_table->msg( NODE_TO_EXCEPT( UNWIND_TO_NODE( unwind_exception ) ) )
     54                );
    4955)
    5056
     
    5965    dst->cancellation = 1p;
    6066        $ctx_switch( src, dst );
    61         abort();
     67        abort( "coroutine_cancelstop" );
    6268)
    6369
Note: See TracChangeset for help on using the changeset viewer.