core/MetacelloErrorInProjectConstructionNotification.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Mon, 10 Sep 2012 20:55:47 +0000
changeset 10 fd87600067b8
parent 1 MetacelloErrorInProjectConstructionNotification.st@9e312de5f694
child 11 d354ac2af7ec
permissions -rw-r--r--
Metacello package refactoring - phase 1

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

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::                                                                                                                        $'
! !