Skip to content
This repository
Browse code

Deprecate JException

  • Loading branch information...
commit 912c09814fb45f23df8cc1ec8bfa26d92c342525 1 parent 795e690
elinw authored

Showing 1 changed file with 21 additions and 1 deletion. Show diff stats Hide diff stats

  1. 22  libraries/joomla/error/exception.php
22  libraries/joomla/error/exception.php
@@ -15,6 +15,8 @@
15 15
  * @package     Joomla.Platform
16 16
  * @subpackage  Error
17 17
  * @since       11.1
  18
+ * 
  19
+ * @deprecated
18 20
  */
19 21
 class JException extends Exception
20 22
 {
@@ -107,6 +109,8 @@ class JException extends Exception
107 109
 	 * @param   boolean  $backtrace  True if backtrace information is to be collected
108 110
 	 *
109 111
 	 * @since   11.1
  112
+	 * 
  113
+	 * @deprecated
110 114
 	 */
111 115
 	public function __construct($msg, $code = 0, $level = null, $info = null, $backtrace = false)
112 116
 	{
@@ -161,6 +165,8 @@ public function __construct($msg, $code = 0, $level = null, $info = null, $backt
161 165
 	 * @return  string  Error message
162 166
 	 *
163 167
 	 * @since   11.1
  168
+	 * 
  169
+	 * @deprecated
164 170
 	 */
165 171
 	public function __toString()
166 172
 	{
@@ -190,6 +196,8 @@ public function toString()
190 196
 	 *
191 197
 	 * @see     getProperties()
192 198
 	 * @since   11.1
  199
+	 * 
  200
+	 * @deprecated
193 201
 	 */
194 202
 	public function get($property, $default=null)
195 203
 	{
@@ -208,6 +216,8 @@ public function get($property, $default=null)
208 216
 	 *
209 217
 	 * @see     get()
210 218
 	 * @since   11.1
  219
+	 * 
  220
+	 * @deprecated
211 221
 	 */
212 222
 	public function getProperties($public = true)
213 223
 	{
@@ -233,6 +243,8 @@ public function getProperties($public = true)
233 243
 	 * @return  string  Error message
234 244
 	 *
235 245
 	 * @since   11.1
  246
+	 * 
  247
+	 * @deprecated
236 248
 	 */
237 249
 	public function getError($i = null, $toString = true)
238 250
 	{
@@ -264,6 +276,8 @@ public function getError($i = null, $toString = true)
264 276
 	 * @return  array  Array of error messages or JErrors
265 277
 	 *
266 278
 	 * @since   11.1
  279
+	 * 
  280
+	 * @deprecated
267 281
 	 */
268 282
 	public function getErrors()
269 283
 	{
@@ -281,6 +295,8 @@ public function getErrors()
281 295
 	 *
282 296
 	 * @see     setProperties()
283 297
 	 * @since   11.1
  298
+	 * 
  299
+	 * @deprecated
284 300
 	 */
285 301
 	public function set($property, $value = null)
286 302
 	{
@@ -298,6 +314,8 @@ public function set($property, $value = null)
298 314
 	 *
299 315
 	 * @see     set()
300 316
 	 * @since   11.1
  317
+	 * 
  318
+	 * @deprecated
301 319
 	 */
302 320
 	public function setProperties($properties)
303 321
 	{
@@ -324,9 +342,11 @@ public function setProperties($properties)
324 342
 	 * @return  void
325 343
 	 *
326 344
 	 * @since   11.1
  345
+	 * 
  346
+	 * @deprecated
327 347
 	 */
328 348
 	public function setError($error)
329 349
 	{
330 350
 		array_push($this->_errors, $error);
331 351
 	}
332  
-}
  352
+}

0 notes on commit 912c098

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