Skip to content

Commit

Permalink
Merge pull request joomla#62 from elinw/docblocks
Browse files Browse the repository at this point in the history
Deprecate JException
  • Loading branch information
LouisLandry committed Jun 24, 2011
2 parents 11c7f43 + 912c098 commit be64bfc
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion libraries/joomla/error/exception.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
* @package Joomla.Platform
* @subpackage Error
* @since 11.1
*
* @deprecated
*/
class JException extends Exception
{
Expand Down Expand Up @@ -107,6 +109,8 @@ class JException extends Exception
* @param boolean $backtrace True if backtrace information is to be collected
*
* @since 11.1
*
* @deprecated
*/
public function __construct($msg, $code = 0, $level = null, $info = null, $backtrace = false)
{
Expand Down Expand Up @@ -161,6 +165,8 @@ public function __construct($msg, $code = 0, $level = null, $info = null, $backt
* @return string Error message
*
* @since 11.1
*
* @deprecated
*/
public function __toString()
{
Expand Down Expand Up @@ -190,6 +196,8 @@ public function toString()
*
* @see getProperties()
* @since 11.1
*
* @deprecated
*/
public function get($property, $default=null)
{
Expand All @@ -208,6 +216,8 @@ public function get($property, $default=null)
*
* @see get()
* @since 11.1
*
* @deprecated
*/
public function getProperties($public = true)
{
Expand All @@ -233,6 +243,8 @@ public function getProperties($public = true)
* @return string Error message
*
* @since 11.1
*
* @deprecated
*/
public function getError($i = null, $toString = true)
{
Expand Down Expand Up @@ -264,6 +276,8 @@ public function getError($i = null, $toString = true)
* @return array Array of error messages or JErrors
*
* @since 11.1
*
* @deprecated
*/
public function getErrors()
{
Expand All @@ -281,6 +295,8 @@ public function getErrors()
*
* @see setProperties()
* @since 11.1
*
* @deprecated
*/
public function set($property, $value = null)
{
Expand All @@ -298,6 +314,8 @@ public function set($property, $value = null)
*
* @see set()
* @since 11.1
*
* @deprecated
*/
public function setProperties($properties)
{
Expand All @@ -324,9 +342,11 @@ public function setProperties($properties)
* @return void
*
* @since 11.1
*
* @deprecated
*/
public function setError($error)
{
array_push($this->_errors, $error);
}
}
}

0 comments on commit be64bfc

Please sign in to comment.