System.Web.Services.AJAX
[ class tree: System.Web.Services.AJAX ] [ index: System.Web.Services.AJAX ] [ all elements ]

Class: TAJAXException

Source Location: /Web/Services/AJAX/TRemoteObjectServer.php

Class Overview

Exception
   |
   --TAJAXException

Base AJAX exception class.

Class Details

[line 819]
Base AJAX exception class.

The error code are used as AJAX request HTTP status codes. E.g.

  • 505, server error,
  • 403, authenticated failed.




version:  $Revision: 1.1 $ $Date: 2005/11/06 23:02:35 $
author:  Wei Zhuo<weizhuo[at]gmail[dot]com>


[ Top ]

Methods


Child classes:

TAJAXInvalidHandlerException
Invalid Handler Exception.
TAJAXInvalidRequestException
Thrown when an AJAX request is malformed or invalid.

Class Methods


constructor __construct [line 821]

TAJAXException __construct( mixed $msg, [mixed $code = 505])



access:  public


[ Top ]

method set [line 831]

int set( string $file, mixed $line)

Sets the error file and line number.



return:  line number of the error
access:  public


Parameters:

string   $file   filename where the error occured

[ Top ]

method setTrace [line 841]

void setTrace( array $trace)

Sets the trace for this exception.



access:  public


Parameters:

array   $trace   error trace

[ Top ]


© 2004-2005 PRADO Software Group. All Rights Reserved.