Services_Yahoo
[ class tree: Services_Yahoo ] [ index: Services_Yahoo ] [ all elements ]

Class: Services_Yahoo_Exception

Source Location: /Services_Yahoo-0.1.0/Yahoo/Exception.php

Class Overview

PEAR_Exception
   |
   --Services_Yahoo_Exception

Services_Yahoo Exception class


Author(s):

Version:

  • CVS: $Id: Exception.php,v 1.1 2005/03/22 11:21:18 mj Exp $

Copyright:

  • 2005 Martin Jansen

Methods


Inherited Variables

Inherited Methods


Class Details

[line 40]
Services_Yahoo Exception class

This class is used in all places in the package where Exceptions are raised.

  • Version: CVS: $Id: Exception.php,v 1.1 2005/03/22 11:21:18 mj Exp $
  • License: PHP License 3.0
  • Copyright: 2005 Martin Jansen
  • Author: Martin Jansen <mailto:mj@php.net>
  • Extends: PEAR_Exception


[ Top ]


Method Detail

addError   [line 50]

void addError( string $error)

Add error message to the internal error stack
  • Access: public

Parameters:

string   $error     Error message

[ Top ]

addErrors   [line 61]

void addErrors( array $errors)

Add multiple error messages to the internal error stack
  • Access: public

Parameters:

array   $errors     Array of error messages

[ Top ]

getErrors   [line 86]

array getErrors( )

Get list of error messages from the internal error stack

This method may be used to generate a list of error messages that have been returned from the Yahoo API.

  • Return: List of error messages
  • Access: public

[ Top ]

hasErrors   [line 72]

boolean hasErrors( )

Determine if the exception contains error messages in the internal stack
  • Return: True if the stack contains errors, false otherwise
  • Access: public

[ Top ]


Documentation generated on Mon, 06 Jun 2005 07:30:11 -0400 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.