Author: Alexandru Stanoi
Date: 2007-01-31 11:12:37 +0100 (Wed, 31 Jan 2007)
New Revision: 4600

Log:
- Added missing throws docblocks.

Modified:
   trunk/Mail/src/options/imap_options.php
   trunk/Mail/src/options/parser_options.php
   trunk/Mail/src/options/pop3_options.php
   trunk/Mail/src/options/transport_options.php
   trunk/Mail/src/parser/parser.php
   trunk/Mail/src/transports/imap/imap_transport.php
   trunk/Mail/src/transports/pop3/pop3_transport.php
   trunk/Mail/src/transports/transport_connection.php

Modified: trunk/Mail/src/options/imap_options.php
===================================================================
--- trunk/Mail/src/options/imap_options.php     2007-01-31 10:05:02 UTC (rev 
4599)
+++ trunk/Mail/src/options/imap_options.php     2007-01-31 10:12:37 UTC (rev 
4600)
@@ -21,6 +21,10 @@
     /**
      * Constructs an object with the specified values.
      *
+     * @throws ezcBasePropertyNotFoundException
+     *         if $options contains a property not defined
+     * @throws ezcBaseValueException
+     *         if $options contains a property with a value not allowed
      * @param array(string=>mixed) $options
      */
     public function __construct( array $options = array() )
@@ -31,10 +35,10 @@
     /**
      * Sets the option $name to $value.
      *
+     * @throws ezcBasePropertyNotFoundException
+     *         if the property $name is not defined
      * @throws ezcBaseValueException
      *         if $value is not correct for the property $name
-     * @throws ezcBasePropertyNotFoundException
-     *         if the propery $name is not defined
      * @param string $name
      * @param mixed $value
      * @ignore

Modified: trunk/Mail/src/options/parser_options.php
===================================================================
--- trunk/Mail/src/options/parser_options.php   2007-01-31 10:05:02 UTC (rev 
4599)
+++ trunk/Mail/src/options/parser_options.php   2007-01-31 10:12:37 UTC (rev 
4600)
@@ -23,6 +23,10 @@
     /**
      * Constructs an object with the specified values.
      *
+     * @throws ezcBasePropertyNotFoundException
+     *         if $options contains a property not defined
+     * @throws ezcBaseValueException
+     *         if $options contains a property with a value not allowed
      * @param array(string=>mixed) $options
      */
     public function __construct( array $options = array() )
@@ -35,10 +39,10 @@
     /**
      * Sets the option $name to $value.
      *
+     * @throws ezcBasePropertyNotFoundException
+     *         if the property $name is not defined
      * @throws ezcBaseValueException
      *         if $value is not correct for the property $name
-     * @throws ezcBasePropertyNotFoundException
-     *         if the propery $name is not defined
      * @param string $name
      * @param mixed $value
      * @ignore

Modified: trunk/Mail/src/options/pop3_options.php
===================================================================
--- trunk/Mail/src/options/pop3_options.php     2007-01-31 10:05:02 UTC (rev 
4599)
+++ trunk/Mail/src/options/pop3_options.php     2007-01-31 10:12:37 UTC (rev 
4600)
@@ -26,6 +26,10 @@
     /**
      * Constructs an object with the specified values.
      *
+     * @throws ezcBasePropertyNotFoundException
+     *         if $options contains a property not defined
+     * @throws ezcBaseValueException
+     *         if $options contains a property with a value not allowed
      * @param array(string=>mixed) $options
      */
     public function __construct( array $options = array() )
@@ -39,10 +43,10 @@
     /**
      * Sets the option $name to $value.
      *
+     * @throws ezcBasePropertyNotFoundException
+     *         if the property $name is not defined
      * @throws ezcBaseValueException
      *         if $value is not correct for the property $name
-     * @throws ezcBasePropertyNotFoundException
-     *         if the propery $name is not defined
      * @param string $name
      * @param mixed $value
      * @ignore

Modified: trunk/Mail/src/options/transport_options.php
===================================================================
--- trunk/Mail/src/options/transport_options.php        2007-01-31 10:05:02 UTC 
(rev 4599)
+++ trunk/Mail/src/options/transport_options.php        2007-01-31 10:12:37 UTC 
(rev 4600)
@@ -25,6 +25,10 @@
     /**
      * Constructs an object with the specified values.
      *
+     * @throws ezcBasePropertyNotFoundException
+     *         if $options contains a property not defined
+     * @throws ezcBaseValueException
+     *         if $options contains a property with a value not allowed
      * @param array(string=>mixed) $options
      */
     public function __construct( array $options = array() )
@@ -38,10 +42,10 @@
     /**
      * Sets the option $name to $value.
      *
+     * @throws ezcBasePropertyNotFoundException
+     *         if the property $name is not defined
      * @throws ezcBaseValueException
      *         if $value is not correct for the property $name
-     * @throws ezcBasePropertyNotFoundException
-     *         if the propery $name is not defined
      * @param string $name
      * @param mixed $value
      * @ignore

Modified: trunk/Mail/src/parser/parser.php
===================================================================
--- trunk/Mail/src/parser/parser.php    2007-01-31 10:05:02 UTC (rev 4599)
+++ trunk/Mail/src/parser/parser.php    2007-01-31 10:12:37 UTC (rev 4600)
@@ -58,6 +58,10 @@
      *
      * @see ezcMailParserOptions for options you can set to the mail parser.
      *
+     * @throws ezcBasePropertyNotFoundException
+     *         if $options contains a property not defined
+     * @throws ezcBaseValueException
+     *         if $options contains a property with a value not allowed
      * @param array(string=>mixed) $options
      */
     public function __construct( array $options = array() )

Modified: trunk/Mail/src/transports/imap/imap_transport.php
===================================================================
--- trunk/Mail/src/transports/imap/imap_transport.php   2007-01-31 10:05:02 UTC 
(rev 4599)
+++ trunk/Mail/src/transports/imap/imap_transport.php   2007-01-31 10:12:37 UTC 
(rev 4600)
@@ -192,6 +192,12 @@
      *
      * @throws ezcMailTransportException
      *         if it was not possible to connect to the server
+     * @throws ezcBaseFeatureNotFoundException
+     *         if trying to use SSL and the extension openssl is not installed
+     * @throws ezcBasePropertyNotFoundException
+     *         if $options contains a property not defined
+     * @throws ezcBaseValueException
+     *         if $options contains a property with a value not allowed
      * @param string $server
      * @param int $port
      * @param array(string=>mixed) $options

Modified: trunk/Mail/src/transports/pop3/pop3_transport.php
===================================================================
--- trunk/Mail/src/transports/pop3/pop3_transport.php   2007-01-31 10:05:02 UTC 
(rev 4599)
+++ trunk/Mail/src/transports/pop3/pop3_transport.php   2007-01-31 10:12:37 UTC 
(rev 4600)
@@ -113,6 +113,12 @@
      *
      * @throws ezcMailTransportException
      *         if it was not possible to connect to the server
+     * @throws ezcBaseFeatureNotFoundException
+     *         if trying to use SSL and the extension openssl is not installed
+     * @throws ezcBasePropertyNotFoundException
+     *         if $options contains a property not defined
+     * @throws ezcBaseValueException
+     *         if $options contains a property with a value not allowed
      * @param string $server
      * @param int $port
      * @param array(string=>mixed) $options

Modified: trunk/Mail/src/transports/transport_connection.php
===================================================================
--- trunk/Mail/src/transports/transport_connection.php  2007-01-31 10:05:02 UTC 
(rev 4599)
+++ trunk/Mail/src/transports/transport_connection.php  2007-01-31 10:12:37 UTC 
(rev 4600)
@@ -50,6 +50,12 @@
      *
      * @throws ezcMailTransportException
      *         if a connection to the server could not be made
+     * @throws ezcBaseFeatureNotFoundException
+     *         if trying to use SSL and the extension openssl is not installed
+     * @throws ezcBasePropertyNotFoundException
+     *         if $options contains a property not defined
+     * @throws ezcBaseValueException
+     *         if $options contains a property with a value not allowed
      * @param string $server
      * @param int $port
      * @param array(string=>mixed) $options

-- 
svn-components mailing list
svn-components@lists.ez.no
http://lists.ez.no/mailman/listinfo/svn-components

Reply via email to