summaryrefslogtreecommitdiffstats
path: root/pokemod/Store.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pokemod/Store.cpp')
-rw-r--r--pokemod/Store.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/pokemod/Store.cpp b/pokemod/Store.cpp
index a3f6e37a..1edbca32 100644
--- a/pokemod/Store.cpp
+++ b/pokemod/Store.cpp
@@ -98,7 +98,7 @@ void Store::setName(const QString& name)
void Store::setItem(const int item, const bool state) throw(BoundsException)
{
if (pokemod()->itemIndex(item) == INT_MAX)
- throw(BoundsException(className(), "item"));
+ error<BoundsException>("item");
if (state)
{
if (!m_items.contains(item))