consolidate notes
[mdref/mdref-http] / http / Message / setRequestUrl.md
index 9c6663debb05f87a9a45e179ebdc2252ab2087eb..766b3d1c9ca0b394fb28511780048e2ff5408bc1 100644 (file)
@@ -11,19 +11,16 @@ See http\Message::getRequestUrl() and http\Message::setRequestMethod().
 ## Returns:
 
 * http\Message, self.
-* false, if the message was not of type request.
 
-## Notices:
+## Throws:
 
-* E_MESSAGE_TYPE, if the message is not of type request.
-
-## Warnings:
-
-* E_INVALID_PARAM, if the url is of zero length.
+* http\Exception\InvalidArgumentException
+* http\Exception\BadMethodCallException
 
 ## Example:
 
-> **Note:** The request URL in a request message usually only consists of the path and the querystring.
+> ***NOTE:***  
+> The request URL in a request message usually only consists of the path and the querystring.
 
     <?php
     $m = new http\Message;