Defines an exception originating within the Picasa API. This is used as a skeleton that other Picasa Exceptions will extend and is typically thrown when an unknwon error occurs. If the error type is known, usually an extended version of this class will be thrown.
Located in /Picasa/Exception.php (line 16)
Exception | --Picasa_Exception
| Class | Description |
|---|---|
| Picasa_Exception_BadRequestException | Represents an HTTP Error 400 Bad Request. |
| Picasa_Exception_CaptchaRequiredException | Indicates that Google issued a CAPTCHA challenge when the client was attempting to login a user. |
| Picasa_Exception_ConflictException | Represents an HTTP Error 409 Conflict. |
| Picasa_Exception_FailedAuthorizationException | Indicates that an attempt to authorize the user has failed for some reason. |
| Picasa_Exception_FileNotFoundException | This exception indicates that an HTTP Error 404 File Not Found error has occured when requesting a file on a remote server. |
| Picasa_Exception_InternalServerErrorException | This indicates that an HTTP Error 500 Internal Server Error has occured. |
| Picasa_Exception_InvalidUsernameOrPasswordException | Indicates that the user's attempt to login using Client Login failed because he entered the wrong username or password. There is no way in Picasa to determine if the username or the password is incorrect, just that one of them was. |
| Picasa_Exception_UnauthorizedException | Indicates that an Error 401 Unauthorized response was recieved from the host after a request. |
If the exception originated from a request to another server, this field holds the entire contents of the response, including the headers.
If the exception originated from a request to another server, this field holds the URL that was requested.
Inherited from Exception (Internal Class)
$code
$file
$line
$message
$string
$trace
Constructs a Picasa_Exception object.
Getter method for $response field.
Getter method for $url field.
Constructs a textual representation of the current instantiation.
Inherited From Exception (Internal Class)
constructor __construct ( [$message = ], [$code = ] )
getCode ( )
getFile ( )
getLine ( )
getMessage ( )
getTrace ( )
getTraceAsString ( )
__clone ( )
__toString ( )
Documentation generated on Tue, 02 Jun 2009 14:51:52 -0700 by phpDocumentor 1.4.1