Skip to content
This repository has been archived by the owner on Sep 23, 2020. It is now read-only.

Added VersionNotFoundException #107

Merged
merged 7 commits into from
Mar 9, 2017

Conversation

trickreich
Copy link
Contributor

No description provided.

@trickreich trickreich requested a review from danrot March 9, 2017 08:27

namespace Sulu\Component\DocumentManager\Exception;

class VersionNotFoundException extends DocumentManagerException
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prefer to not have such a small exception, but a parameterized one. So that it can be used like throw new VersionNotFoundException($document, $version), and it generates the message on its own.

@danrot danrot merged commit d1cdb7f into master Mar 9, 2017
@danrot danrot deleted the enhancement/version-not-found-exception branch March 9, 2017 09:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants