JavaMethodWithHandler.st
author Claus Gittinger <cg@exept.de>
Thu, 24 Nov 2011 11:50:24 +0100
changeset 2190 8026ab73e194
parent 2151 c0b6570c6f9b
child 2205 9f8b37e3960f
permissions -rw-r--r--
added: #version_CVS
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
454
38f590639d65 *** empty log message ***
cg
parents: 427
diff changeset
     1
"
2151
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
     2
 COPYRIGHT (c) 1996-2011 by Claus Gittinger
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
     3
 COPYRIGHT (c) 2010-2011 by Jan Vrany, Jan Kurs and Marcel Hlopko
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
     4
                            SWING Research Group, Czech Technical University in Prague
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
     5
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
     6
 Parts of the code written by Claus Gittinger are under following
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
     7
 license:
454
38f590639d65 *** empty log message ***
cg
parents: 427
diff changeset
     8
38f590639d65 *** empty log message ***
cg
parents: 427
diff changeset
     9
 This software is furnished under a license and may be used
38f590639d65 *** empty log message ***
cg
parents: 427
diff changeset
    10
 only in accordance with the terms of that license and with the
38f590639d65 *** empty log message ***
cg
parents: 427
diff changeset
    11
 inclusion of the above copyright notice.   This software may not
38f590639d65 *** empty log message ***
cg
parents: 427
diff changeset
    12
 be provided or otherwise made available to, or used by, any
38f590639d65 *** empty log message ***
cg
parents: 427
diff changeset
    13
 other person.  No title to or ownership of the software is
38f590639d65 *** empty log message ***
cg
parents: 427
diff changeset
    14
 hereby transferred.
2151
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
    15
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
    16
 Parts of the code written at SWING Reasearch Group [1] are MIT licensed:
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
    17
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
    18
 Permission is hereby granted, free of charge, to any person
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
    19
 obtaining a copy of this software and associated documentation
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
    20
 files (the 'Software'), to deal in the Software without
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
    21
 restriction, including without limitation the rights to use,
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
    22
 copy, modify, merge, publish, distribute, sublicense, and/or sell
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
    23
 copies of the Software, and to permit persons to whom the
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
    24
 Software is furnished to do so, subject to the following
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
    25
 conditions:
454
38f590639d65 *** empty log message ***
cg
parents: 427
diff changeset
    26
2151
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
    27
 The above copyright notice and this permission notice shall be
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
    28
 included in all copies or substantial portions of the Software.
454
38f590639d65 *** empty log message ***
cg
parents: 427
diff changeset
    29
2151
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
    30
 THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
    31
 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
    32
 OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
    33
 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
    34
 HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
    35
 WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
    36
 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
    37
 OTHER DEALINGS IN THE SOFTWARE.
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
    38
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
    39
 [1] Code written at SWING Research Group contain a signature
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
    40
     of one of the above copright owners.
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
    41
"
688
dcd829fd4094 *** empty log message ***
cg
parents: 616
diff changeset
    42
"{ Package: 'stx:libjava' }"
dcd829fd4094 *** empty log message ***
cg
parents: 616
diff changeset
    43
427
a7083b7a8724 *** empty log message ***
cg
parents: 423
diff changeset
    44
JavaMethodWithException variableSubclass:#JavaMethodWithHandler
423
08af061c56a8 javaClass now uses its fullName in name
cg
parents: 377
diff changeset
    45
	instanceVariableNames:'exceptionHandlerTable'
377
4a5975fcce4e initial checkin
cg
parents:
diff changeset
    46
	classVariableNames:''
4a5975fcce4e initial checkin
cg
parents:
diff changeset
    47
	poolDictionaries:''
2107
f4509f6767fa category change
Claus Gittinger <cg@exept.de>
parents: 2082
diff changeset
    48
	category:'Languages-Java-Classes'
377
4a5975fcce4e initial checkin
cg
parents:
diff changeset
    49
!
4a5975fcce4e initial checkin
cg
parents:
diff changeset
    50
454
38f590639d65 *** empty log message ***
cg
parents: 427
diff changeset
    51
!JavaMethodWithHandler class methodsFor:'documentation'!
38f590639d65 *** empty log message ***
cg
parents: 427
diff changeset
    52
38f590639d65 *** empty log message ***
cg
parents: 427
diff changeset
    53
copyright
38f590639d65 *** empty log message ***
cg
parents: 427
diff changeset
    54
"
2151
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
    55
 COPYRIGHT (c) 1996-2011 by Claus Gittinger
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
    56
 COPYRIGHT (c) 2010-2011 by Jan Vrany, Jan Kurs and Marcel Hlopko
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
    57
                            SWING Research Group, Czech Technical University in Prague
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
    58
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
    59
 Parts of the code written by Claus Gittinger are under following
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
    60
 license:
454
38f590639d65 *** empty log message ***
cg
parents: 427
diff changeset
    61
38f590639d65 *** empty log message ***
cg
parents: 427
diff changeset
    62
 This software is furnished under a license and may be used
38f590639d65 *** empty log message ***
cg
parents: 427
diff changeset
    63
 only in accordance with the terms of that license and with the
38f590639d65 *** empty log message ***
cg
parents: 427
diff changeset
    64
 inclusion of the above copyright notice.   This software may not
38f590639d65 *** empty log message ***
cg
parents: 427
diff changeset
    65
 be provided or otherwise made available to, or used by, any
38f590639d65 *** empty log message ***
cg
parents: 427
diff changeset
    66
 other person.  No title to or ownership of the software is
38f590639d65 *** empty log message ***
cg
parents: 427
diff changeset
    67
 hereby transferred.
2151
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
    68
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
    69
 Parts of the code written at SWING Reasearch Group [1] are MIT licensed:
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
    70
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
    71
 Permission is hereby granted, free of charge, to any person
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
    72
 obtaining a copy of this software and associated documentation
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
    73
 files (the 'Software'), to deal in the Software without
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
    74
 restriction, including without limitation the rights to use,
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
    75
 copy, modify, merge, publish, distribute, sublicense, and/or sell
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
    76
 copies of the Software, and to permit persons to whom the
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
    77
 Software is furnished to do so, subject to the following
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
    78
 conditions:
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
    79
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
    80
 The above copyright notice and this permission notice shall be
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
    81
 included in all copies or substantial portions of the Software.
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
    82
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
    83
 THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
    84
 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
    85
 OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
    86
 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
    87
 HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
    88
 WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
    89
 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
    90
 OTHER DEALINGS IN THE SOFTWARE.
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
    91
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
    92
 [1] Code written at SWING Research Group contain a signature
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
    93
     of one of the above copright owners.
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
    94
2082
ee2fac5efadb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 749
diff changeset
    95
"
454
38f590639d65 *** empty log message ***
cg
parents: 427
diff changeset
    96
! !
377
4a5975fcce4e initial checkin
cg
parents:
diff changeset
    97
616
53bf2ec50346 *** empty log message ***
cg
parents: 610
diff changeset
    98
!JavaMethodWithHandler class methodsFor:'initialization'!
53bf2ec50346 *** empty log message ***
cg
parents: 610
diff changeset
    99
53bf2ec50346 *** empty log message ***
cg
parents: 610
diff changeset
   100
initialize
53bf2ec50346 *** empty log message ***
cg
parents: 610
diff changeset
   101
    self flags:(self flags bitOr:Behavior flagJavaMethod).
53bf2ec50346 *** empty log message ***
cg
parents: 610
diff changeset
   102
! !
53bf2ec50346 *** empty log message ***
cg
parents: 610
diff changeset
   103
377
4a5975fcce4e initial checkin
cg
parents:
diff changeset
   104
!JavaMethodWithHandler methodsFor:'accessing'!
4a5975fcce4e initial checkin
cg
parents:
diff changeset
   105
4a5975fcce4e initial checkin
cg
parents:
diff changeset
   106
exceptionHandlerTable
4a5975fcce4e initial checkin
cg
parents:
diff changeset
   107
    ^ exceptionHandlerTable
4a5975fcce4e initial checkin
cg
parents:
diff changeset
   108
4a5975fcce4e initial checkin
cg
parents:
diff changeset
   109
    "Modified: / 16.4.1996 / 12:49:06 / cg"
4a5975fcce4e initial checkin
cg
parents:
diff changeset
   110
    "Created: / 16.10.1998 / 01:18:28 / cg"
4a5975fcce4e initial checkin
cg
parents:
diff changeset
   111
!
4a5975fcce4e initial checkin
cg
parents:
diff changeset
   112
4a5975fcce4e initial checkin
cg
parents:
diff changeset
   113
setExceptionHandlerTable:anArray
4a5975fcce4e initial checkin
cg
parents:
diff changeset
   114
    exceptionHandlerTable := anArray.
4a5975fcce4e initial checkin
cg
parents:
diff changeset
   115
4a5975fcce4e initial checkin
cg
parents:
diff changeset
   116
    "Created: / 16.10.1998 / 01:19:00 / cg"
4a5975fcce4e initial checkin
cg
parents:
diff changeset
   117
! !
4a5975fcce4e initial checkin
cg
parents:
diff changeset
   118
4a5975fcce4e initial checkin
cg
parents:
diff changeset
   119
!JavaMethodWithHandler class methodsFor:'documentation'!
4a5975fcce4e initial checkin
cg
parents:
diff changeset
   120
4a5975fcce4e initial checkin
cg
parents:
diff changeset
   121
version
2151
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
   122
    ^ '$Id: JavaMethodWithHandler.st,v 1.9 2011-08-18 18:42:48 vrany Exp $'
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
   123
!
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
   124
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
   125
version_SVN
c0b6570c6f9b Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2107
diff changeset
   126
    ^ '$Id: JavaMethodWithHandler.st,v 1.9 2011-08-18 18:42:48 vrany Exp $'
377
4a5975fcce4e initial checkin
cg
parents:
diff changeset
   127
! !
2107
f4509f6767fa category change
Claus Gittinger <cg@exept.de>
parents: 2082
diff changeset
   128
2082
ee2fac5efadb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 749
diff changeset
   129
JavaMethodWithHandler initialize!