AbortAllOperationRequest.st
changeset 23869 2dd631fd841e
parent 22158 42332978ab0e
equal deleted inserted replaced
23868:f7295016cf59 23869:2dd631fd841e
       
     1 "{ Encoding: utf8 }"
       
     2 
     1 "
     3 "
     2  COPYRIGHT (c) 2002 by eXept Software AG
     4  COPYRIGHT (c) 2002 by eXept Software AG
     3               All Rights Reserved
     5               All Rights Reserved
     4 
     6 
     5  This software is furnished under a license and may be used
     7  This software is furnished under a license and may be used
    63 
    65 
    64 handleAndAnswerQueryIn:aBlock
    66 handleAndAnswerQueryIn:aBlock
    65     "evaluate aBlock, and return immediately, if the AbortAllRequest is raised.
    67     "evaluate aBlock, and return immediately, if the AbortAllRequest is raised.
    66      Answer any query if AllOperationWanted with true."
    68      Answer any query if AllOperationWanted with true."
    67 
    69 
    68     self handle:[:ex |
    70     ^ self handle:[:ex |
    69     ] do:[
    71     ] do:[
    70         AbortAllOperationWantedQuery 
    72         AbortAllOperationWantedQuery 
    71             answer:true
    73             answer:true
    72             do:aBlock
    74             do:aBlock
    73     ].
    75     ].
    80         ].
    82         ].
    81      ].
    83      ].
    82     "
    84     "
    83 
    85 
    84     "Created: / 09-02-2011 / 13:58:01 / cg"
    86     "Created: / 09-02-2011 / 13:58:01 / cg"
       
    87     "Modified: / 12-03-2019 / 18:04:09 / Stefan Vogel"
    85 ! !
    88 ! !
    86 
    89 
    87 !AbortAllOperationRequest class methodsFor:'documentation'!
    90 !AbortAllOperationRequest class methodsFor:'documentation'!
    88 
    91 
    89 version
    92 version