Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Deprecate JException

  • Loading branch information...
commit 912c09814fb45f23df8cc1ec8bfa26d92c342525 1 parent 795e690
@elinw elinw authored
Showing with 21 additions and 1 deletion.
  1. +21 −1 libraries/joomla/error/exception.php
View
22 libraries/joomla/error/exception.php
@@ -15,6 +15,8 @@
* @package Joomla.Platform
* @subpackage Error
* @since 11.1
+ *
+ * @deprecated
*/
class JException extends Exception
{
@@ -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)
{
@@ -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()
{
@@ -190,6 +196,8 @@ public function toString()
*
* @see getProperties()
* @since 11.1
+ *
+ * @deprecated
*/
public function get($property, $default=null)
{
@@ -208,6 +216,8 @@ public function get($property, $default=null)
*
* @see get()
* @since 11.1
+ *
+ * @deprecated
*/
public function getProperties($public = true)
{
@@ -233,6 +243,8 @@ public function getProperties($public = true)
* @return string Error message
*
* @since 11.1
+ *
+ * @deprecated
*/
public function getError($i = null, $toString = true)
{
@@ -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()
{
@@ -281,6 +295,8 @@ public function getErrors()
*
* @see setProperties()
* @since 11.1
+ *
+ * @deprecated
*/
public function set($property, $value = null)
{
@@ -298,6 +314,8 @@ public function set($property, $value = null)
*
* @see set()
* @since 11.1
+ *
+ * @deprecated
*/
public function setProperties($properties)
{
@@ -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 912c098

Please sign in to comment.
Something went wrong with that request. Please try again.