Skip to content
This repository has been archived by the owner on May 8, 2021. It is now read-only.

Commit

Permalink
Forgot in last commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
ramonacat committed Jun 12, 2010
1 parent 3158479 commit 4c9e5f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Opf/Collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ public function replaceItem(Opf_Item $newItem, $oldItem, $placeholder = 'default
{
if(!isset($this->_items[$placeholder]))
{
throw new Opf_PlaceholderNotExists_Exception($placeholder, $this->getName());
throw new Opf_Exception('Placeholder ' . $placeholder . ' does not exist in collection ' . $this->getName());
}

// The integer call
Expand Down

0 comments on commit 4c9e5f0

Please sign in to comment.