r3702 popup.php: get rid of RuntimeException
authorDenis Ovsienko <infrastation@yandex.ru>
Sun, 30 May 2010 15:52:58 +0000 (15:52 +0000)
committerDenis Ovsienko <infrastation@yandex.ru>
Sun, 30 May 2010 15:52:58 +0000 (15:52 +0000)
popup.php

index 4f89b0c8190fefeccc465501996ea3b359f4ccd5..327783da7401db96d23dcacdf476ea7b7e71690f 100644 (file)
--- a/popup.php
+++ b/popup.php
@@ -128,7 +128,7 @@ header ('Content-Type: text/html; charset=UTF-8');
                        echo '</form></div>';
                        break;
                default:
-                       throw new RuntimeException ('Invalid parameter or internal error');
+                       throw new InvalidRequestArgException ('helper', $_REQUEST['helper']);
        }
 ?>
 </body>