core/MetacelloErrorInProjectConstructionNotification.st
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--
Metacello package refactoring - phase 2~

"{ Package: 'stx:goodies/metacello/core' }"

Notification subclass:#MetacelloErrorInProjectConstructionNotification
	instanceVariableNames:'versionString exception'
	classVariableNames:''
	poolDictionaries:''
	category:'Metacello-Core-Exceptions-Notifications'
!


!MetacelloErrorInProjectConstructionNotification class methodsFor:'instance creation'!

versionString: aString exception: anException
    ^ self new
        versionString: aString;
        exception: anException;
        signal
! !

!MetacelloErrorInProjectConstructionNotification methodsFor:'accessing'!

exception
	^ exception
!

exception: anObject
	exception := anObject
!

versionString
	^ versionString
!

versionString: anObject
	versionString := anObject
! !

!MetacelloErrorInProjectConstructionNotification methodsFor:'exception description'!

defaultAction
    "Answer false if you want the version recorded in the errorMap.
	Answer true if you want to go ahead and throw the error"

    ^ false
! !

!MetacelloErrorInProjectConstructionNotification class methodsFor:'documentation'!

version_SVN
    ^ '$Id::                                                                                                                        $'
! !