author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Mon, 10 Sep 2012 21:28:05 +0000 | |
changeset 11 | d354ac2af7ec |
parent 10 | fd87600067b8 |
child 14 | f01fe37493e9 |
permissions | -rw-r--r-- |
11
d354ac2af7ec
Metacello package refactoring - phase 2~
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
10
diff
changeset
|
1 |
"{ Package: 'stx:goodies/metacello/core' }" |
1 | 2 |
|
3 |
Notification subclass:#MetacelloErrorInProjectConstructionNotification |
|
4 |
instanceVariableNames:'versionString exception' |
|
5 |
classVariableNames:'' |
|
6 |
poolDictionaries:'' |
|
7 |
category:'Metacello-Core-Exceptions-Notifications' |
|
8 |
! |
|
9 |
||
10 |
||
11 |
!MetacelloErrorInProjectConstructionNotification class methodsFor:'instance creation'! |
|
12 |
||
13 |
versionString: aString exception: anException |
|
14 |
^ self new |
|
15 |
versionString: aString; |
|
16 |
exception: anException; |
|
17 |
signal |
|
18 |
! ! |
|
19 |
||
20 |
!MetacelloErrorInProjectConstructionNotification methodsFor:'accessing'! |
|
21 |
||
22 |
exception |
|
23 |
^ exception |
|
24 |
! |
|
25 |
||
26 |
exception: anObject |
|
27 |
exception := anObject |
|
28 |
! |
|
29 |
||
30 |
versionString |
|
31 |
^ versionString |
|
32 |
! |
|
33 |
||
34 |
versionString: anObject |
|
35 |
versionString := anObject |
|
36 |
! ! |
|
37 |
||
38 |
!MetacelloErrorInProjectConstructionNotification methodsFor:'exception description'! |
|
39 |
||
40 |
defaultAction |
|
41 |
"Answer false if you want the version recorded in the errorMap. |
|
42 |
Answer true if you want to go ahead and throw the error" |
|
43 |
||
44 |
^ false |
|
45 |
! ! |
|
46 |
||
47 |
!MetacelloErrorInProjectConstructionNotification class methodsFor:'documentation'! |
|
48 |
||
49 |
version_SVN |
|
50 |
^ '$Id:: $' |
|
51 |
! ! |