Closed GoogleCodeExporter closed 9 years ago
Original comment by henrichs...@gmail.com
on 18 Jan 2012 at 6:18
fixed in Metacello 1.0-beta.32 (dkh.668).
Since Issue 119 involves throwing a creation-time error, I needed to solve the
general problem of what to do when errros occur during version creation. Errors
that occur during project construction no longer cause a halt to the
proceedings. Project construction proceeds, however, the version with the error
is (obviously) not available for use. If on accesses such a version, a
MetacelloVersionDefinitionError (a kindOf: MetacelloVersionDoesNotExistError)
that is thrown. If you wrap project creation with the following exception
handler:
[ConfigurationOfExample project ]
on: MetacelloErrorInProjectConstructionNotification
do: [:ex | ex resume: true ].
the Error is thrown immediately.
There is also a new error reasonCode (#'versionCreationError') to flag these
errors for the validator.
Original comment by henrichs...@gmail.com
on 21 Jan 2012 at 12:51
Original issue reported on code.google.com by
henrichs...@gmail.com
on 7 Mar 2011 at 9:52