From fe31331e2807634ae659e372358bac5781de9130 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Sat, 19 Apr 2008 18:12:17 +0000 Subject: [FIX] IndexException is more explicit [FIX] Added SizeException for image validation [FIX] QPixmaps are now verified [FIX] Classes now use error and warning rather than throwing [FIX] Deleted Object.cpp git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@100 6ecfd1a5-f3ed-3746-8530-beee90d26b22 --- pokemod/Dialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pokemod/Dialog.cpp') diff --git a/pokemod/Dialog.cpp b/pokemod/Dialog.cpp index 58252431..a24b88bb 100644 --- a/pokemod/Dialog.cpp +++ b/pokemod/Dialog.cpp @@ -691,7 +691,7 @@ QString Dialog::dialog() const void Dialog::insertCommand(const int position, const QString& command) throw(BoundsException) { if (m_dialog.length() < position) - throw(BoundsException(className(), "command")); + error("command"); m_dialog.insert(position, command); } -- cgit