1
|
1 |
"{ Package: 'stx:goodies/metacello' }"
|
|
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 |
! !
|