Consistently extend exception classes from Horde_Exception_Prior.
authorJan Schneider <jan@horde.org>
Tue, 30 Nov 2010 13:43:21 +0000 (14:43 +0100)
committerJan Schneider <jan@horde.org>
Tue, 30 Nov 2010 13:52:10 +0000 (14:52 +0100)
CS, cleanup.

36 files changed:
beatnik/lib/Exception.php
chora/lib/Exception.php
framework/ActiveSync/lib/Horde/ActiveSync/Exception.php
framework/Argv/lib/Horde/Argv/Exception.php
framework/Block/lib/Horde/Block/Exception.php
framework/Browser/lib/Horde/Browser/Exception.php
framework/Cache/lib/Horde/Cache/Exception.php
framework/Controller/lib/Horde/Controller/Exception.php
framework/Db/lib/Horde/Db/Exception.php
framework/Feed/lib/Horde/Feed/Exception.php
framework/Imap_Client/lib/Horde/Imap/Client/Exception.php
framework/Itip/lib/Horde/Itip/Exception.php
framework/Kolab_Format/lib/Horde/Kolab/Format/Exception.php
framework/Kolab_Resource/lib/Horde/Kolab/Resource/Exception.php
framework/Kolab_Server/lib/Horde/Kolab/Server/Exception.php
framework/Kolab_Storage/lib/Horde/Kolab/Storage/Exception.php
framework/Lock/lib/Horde/Lock/Exception.php
framework/Oauth/lib/Horde/Oauth/Exception.php
framework/Pdf/lib/Horde/Pdf/Exception.php
framework/Routes/lib/Horde/Routes/Exception.php
framework/Secret/lib/Horde/Secret/Exception.php
framework/Service_Facebook/lib/Horde/Service/Facebook/Exception.php
framework/Service_Twitter/lib/Horde/Service/Twitter/Exception.php
framework/Share/lib/Horde/Share/Exception.php
framework/Token/lib/Horde/Token/Exception.php
framework/Translation/lib/Horde/Translation/Exception.php
framework/VFS/lib/VFS/Exception.php
gollem/lib/Exception.php
hermes/lib/Exception.php
operator/lib/Exception.php
passwd/lib/Exception.php
pastie/lib/Exception.php
shout/lib/Exception.php
timeobjects/lib/Exception.php
vilma/lib/Exception.php
whups/lib/Exception.php

index bf2efcd..844564b 100644 (file)
@@ -1 +1,4 @@
-<?php class Beatnik_Exception extends Horde_Exception {}
\ No newline at end of file
+<?php
+class Beatnik_Exception extends Horde_Exception_Prior
+{
+}
\ No newline at end of file
index 53399c7..d616815 100644 (file)
@@ -8,6 +8,6 @@
  * @author  Chuck Hagenbuch <chuck@horde.org>
  * @package Chora
  */
-class Chora_Exception extends Horde_Exception
+class Chora_Exception extends Horde_Exception_Prior
 {
 }
index e380d73..39237bc 100644 (file)
@@ -1,3 +1,4 @@
 <?php
-class Horde_ActiveSync_Exception extends Exception {
+class Horde_ActiveSync_Exception extends Horde_Exception_Prior
+{
 }
\ No newline at end of file
index 55222f3..aa8a421 100644 (file)
@@ -15,5 +15,6 @@
  * @category Horde
  * @package  Horde_Argv
  */
-class Horde_Argv_Exception extends Exception
-{}
+class Horde_Argv_Exception extends Horde_Exception_Prior
+{
+}
index 22eecb1..9cdb7b9 100644 (file)
@@ -11,5 +11,6 @@
  * @category Horde
  * @package  Horde_Block
  */
-class Horde_Block_Exception extends Horde_Exception
-{}
+class Horde_Block_Exception extends Horde_Exception_Prior
+{
+}
index 53b4488..f8ae29a 100644 (file)
@@ -11,6 +11,6 @@
  * @category Horde
  * @package  Browser
  */
-class Horde_Browser_Exception extends Horde_Exception
+class Horde_Browser_Exception extends Horde_Exception_Prior
 {
 }
index 189a0d8..d4ecd12 100644 (file)
@@ -11,4 +11,6 @@
  * @category Horde
  * @package  Cache
  */
-class Horde_Cache_Exception extends Horde_Exception_Prior {}
+class Horde_Cache_Exception extends Horde_Exception_Prior
+{
+}
index 5214a4c..dfd7a9c 100644 (file)
@@ -19,6 +19,6 @@
  * @category   Horde
  * @package    Horde_Controller
  */
-class Horde_Controller_Exception extends Exception
+class Horde_Controller_Exception extends Horde_Exception_Prior
 {
 }
index 359b3c2..84f73f2 100644 (file)
@@ -21,6 +21,6 @@
  * @category   Horde
  * @package    Horde_Db
  */
-class Horde_Db_Exception extends Exception
+class Horde_Db_Exception extends Horde_Exception_Prior
 {
 }
index 2a81639..9957d7a 100644 (file)
@@ -8,5 +8,6 @@
  * @category Horde
  * @package Horde_Feed
  */
-class Horde_Feed_Exception extends Horde_Exception_LastError {
+class Horde_Feed_Exception extends Horde_Exception_LastError
+{
 }
index 6b7c355..74f4dd8 100644 (file)
@@ -12,7 +12,7 @@
  * @license  http://www.fsf.org/copyleft/lgpl.html LGPL
  * @package  Imap_Client
  */
-class Horde_Imap_Client_Exception extends Exception
+class Horde_Imap_Client_Exception extends Horde_Exception_Prior
 {
     /* Error message codes. */
 
index 3e656ae..2f34c60 100644 (file)
@@ -26,6 +26,6 @@
  * @license  http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html LGPL
  * @link     http://pear.horde.org/index.php?package=Itip
  */
-class Horde_Itip_Exception extends Exception
+class Horde_Itip_Exception extends Horde_Exception_Prior
 {
 }
index a0856af..42876e6 100644 (file)
@@ -25,6 +25,6 @@
  * @license  http://www.fsf.org/copyleft/lgpl.html LGPL
  * @link     http://pear.horde.org/index.php?package=Kolab_Format
  */
-class Horde_Kolab_Format_Exception extends Exception
+class Horde_Kolab_Format_Exception extends Horde_Exception_Prior
 {
 }
\ No newline at end of file
index a90dfd2..71116b9 100644 (file)
@@ -25,7 +25,7 @@
  * @license  http://www.fsf.org/copyleft/lgpl.html LGPL
  * @link     http://pear.horde.org/index.php?package=Kolab_Resource
  */
-class Horde_Kolab_Resource_Exception extends Exception
+class Horde_Kolab_Resource_Exception extends Horde_Exception_Prior
 {
     /**
      * Constants to define the error type.
index 79a7c88..a62402a 100644 (file)
@@ -25,7 +25,7 @@
  * @license  http://www.fsf.org/copyleft/lgpl.html LGPL
  * @link     http://pear.horde.org/index.php?package=Kolab_Server
  */
-class Horde_Kolab_Server_Exception extends Horde_Exception
+class Horde_Kolab_Server_Exception extends Horde_Exception_Prior
 {
     /**
      * Constants to define the error type.
index eab6dea..cfa64e9 100644 (file)
@@ -25,7 +25,7 @@
  * @license  http://www.fsf.org/copyleft/lgpl.html LGPL
  * @link     http://pear.horde.org/index.php?package=Kolab_Storage
  */
-class Horde_Kolab_Storage_Exception extends Horde_Exception
+class Horde_Kolab_Storage_Exception extends Horde_Exception_Prior
 {
     /**
      * Constants to define the error type.
@@ -34,11 +34,11 @@ class Horde_Kolab_Storage_Exception extends Horde_Exception
     /**
      * The specified folder already exists.
      */
-    const FOLDER_EXISTS             = 10;
+    const FOLDER_EXISTS = 10;
 
     /**
      * The name of the folder has not been specified.
      */
-    const FOLDER_NAME_UNSET         = 50;
+    const FOLDER_NAME_UNSET = 50;
 
 }
index 249c36e..f1c34bf 100644 (file)
@@ -11,4 +11,6 @@
  * @category Horde
  * @package  Lock
  */
-class Horde_Lock_Exception extends Horde_Exception_Prior {}
+class Horde_Lock_Exception extends Horde_Exception_Prior
+{
+}
index 662ec75..50f4575 100644 (file)
@@ -16,6 +16,6 @@
  * @category Horde
  * @package  Horde_Oauth
  */
-class Horde_Oauth_Exception extends Exception
+class Horde_Oauth_Exception extends Horde_Exception_Prior
 {
 }
index 0b5f86a..597e10e 100644 (file)
@@ -14,6 +14,6 @@
  * @category Horde
  * @package  Horde_Pdf
  */
-class Horde_Pdf_Exception extends Exception
+class Horde_Pdf_Exception extends Horde_Exception_Prior
 {
 }
index e6f4a0d..e386950 100644 (file)
@@ -18,5 +18,6 @@
  * 
  * @package Horde_Routes
  */
-class Horde_Routes_Exception extends Exception 
-{}
+class Horde_Routes_Exception extends Horde_Exception_Prior
+{
+}
index 98aa898..acd0347 100644 (file)
@@ -11,6 +11,6 @@
  * @category Horde
  * @package  Horde_Secret
  */
-class Horde_Secret_Exception extends Horde_Exception
+class Horde_Secret_Exception extends Horde_Exception_Prior
 {
 }
index 85f9091..fb6c265 100644 (file)
@@ -6,5 +6,6 @@
  * @category Horde
  * @package Horde_Service_Facebook
  */
-class Horde_Service_Facebook_Exception extends Exception {
+class Horde_Service_Facebook_Exception extends Horde_Exception_Prior
+{
 }
\ No newline at end of file
index 17390df..f0fab15 100644 (file)
@@ -8,5 +8,6 @@
  * @category Horde
  * @package Horde_Service_Twitter
  */
-class Horde_Service_Twitter_Exception extends Horde_Exception_Prior {
+class Horde_Service_Twitter_Exception extends Horde_Exception_Prior
+{
 }
index 88d2525..ecef054 100644 (file)
@@ -4,6 +4,6 @@
  *
  *
  */
-class Horde_Share_Exception extends Exception
+class Horde_Share_Exception extends Horde_Exception_Prior
 {
 }
\ No newline at end of file
index f7bde40..97cedc0 100644 (file)
@@ -11,6 +11,6 @@
  * @category Horde
  * @package  Token
  */
-class Horde_Token_Exception extends Horde_Exception
+class Horde_Token_Exception extends Horde_Exception_Prior
 {
 }
index 393a3e7..c708835 100644 (file)
@@ -10,6 +10,6 @@
  * @author  Jan Schneider <jan@horde.org>
  * @package Translation
  */
-class Horde_Translation_Exception extends Horde_Exception
+class Horde_Translation_Exception extends Horde_Exception_Prior
 {
 }
index 62edcc9..3a58e75 100644 (file)
@@ -10,4 +10,6 @@
  * @author  Michael Slusarz <slusarz@horde.org>
  * @package VFS
  */
-class VFS_Exception extends Exception {}
+class VFS_Exception extends Horde_Exception_Prior
+{
+}
index 9dfaca7..820ed54 100644 (file)
@@ -12,4 +12,6 @@
  * @license  http://www.fsf.org/copyleft/gpl.html GPL
  * @package  Gollem
  */
-class Gollem_Exception extends Horde_Exception_Prior {}
+class Gollem_Exception extends Horde_Exception_Prior
+{
+}
index 814aa15..81cf648 100644 (file)
@@ -1 +1,4 @@
-<?php class Hermes_Exception extends Horde_Exception {}
\ No newline at end of file
+<?php
+class Hermes_Exception extends Horde_Exception_Prior
+{
+}
index 4d31fd8..74db64a 100644 (file)
@@ -1 +1,4 @@
-<?php class Operator_Exception extends Horde_Exception {}
\ No newline at end of file
+<?php
+class Operator_Exception extends Horde_Exception_Prior
+{
+}
index 56d2f50..10b7166 100644 (file)
@@ -1 +1,4 @@
-<?php class Passwd_Exception extends Horde_Exception {}
\ No newline at end of file
+<?php
+class Passwd_Exception extends Horde_Exception_Prior
+{
+}
index ef4d84a..58ef4c0 100644 (file)
@@ -1 +1,4 @@
-<?php class Pastie_Exception extends Horde_Exception {}
+<?php
+class Pastie_Exception extends Horde_Exception_Prior
+{
+}
index ca623f2..79139ed 100644 (file)
@@ -1,2 +1,4 @@
 <?php
-class Shout_Exception extends Horde_Exception_Prior {}
+class Shout_Exception extends Horde_Exception_Prior
+{
+}
index 9aee528..629722d 100644 (file)
@@ -2,6 +2,6 @@
 /**
  *
  */
-class TimeObjects_Exception extends Exception
+class TimeObjects_Exception extends Horde_Exception_Prior
 {
 }
\ No newline at end of file
index 800d8e3..9740fa6 100644 (file)
@@ -1 +1,4 @@
-class Vilma_Exception extends Horde_Exception {}
\ No newline at end of file
+<?php
+class Vilma_Exception extends Horde_Exception_Prior
+{
+}
index 1ba40c7..357d758 100644 (file)
@@ -1 +1,4 @@
-<?php class Whups_Exception extends Horde_Exception {}
+<?php
+class Whups_Exception extends Horde_Exception_Prior
+{
+}