1
|
1 |
"{ Package: 'stx:goodies/metacello' }"
|
|
2 |
|
|
3 |
MetacelloVersionDoesNotExistError subclass:#MetacelloVersionDefinitionError
|
|
4 |
instanceVariableNames:'exception'
|
|
5 |
classVariableNames:''
|
|
6 |
poolDictionaries:''
|
|
7 |
category:'Metacello-Core-Exceptions-Errors'
|
|
8 |
!
|
|
9 |
|
|
10 |
|
|
11 |
!MetacelloVersionDefinitionError methodsFor:'accessing'!
|
|
12 |
|
|
13 |
exception
|
|
14 |
^ exception
|
|
15 |
!
|
|
16 |
|
|
17 |
exception: anObject
|
|
18 |
exception := anObject
|
|
19 |
! !
|
|
20 |
|
|
21 |
!MetacelloVersionDefinitionError methodsFor:'printing'!
|
|
22 |
|
|
23 |
description
|
|
24 |
"Return a textual description of the exception."
|
|
25 |
|
|
26 |
^ 'The version ' , self versionString printString , ' is not defined in ' , self project label
|
|
27 |
, ' for the current platform, because an exception occurred while creating the version:. '
|
|
28 |
, self exception description , '. Evaluate the following to see the error: ''['
|
|
29 |
, self project configuration class name asString
|
|
30 |
,
|
|
31 |
' project ]
|
|
32 |
on: MetacelloErrorInProjectConstructionNotification
|
|
33 |
do: [:ex | ex resume: true ].'''
|
|
34 |
,
|
|
35 |
'
|
|
36 |
Possible versions include: ' , self possibleVersions printString
|
|
37 |
! !
|
|
38 |
|
|
39 |
!MetacelloVersionDefinitionError class methodsFor:'documentation'!
|
|
40 |
|
|
41 |
version_SVN
|
|
42 |
^ '$Id:: $'
|
|
43 |
! !
|