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

Class: Services_Yahoo_Exception

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

Class Overview

PEAR_Exception
   |
   --Services_Yahoo_Exception

Services_Yahoo Exception class


Author(s):

Version:

  • CVS: $Id: Exception.php,v 1.2 2006/10/02 12:53:33 mj Exp $

Copyright:

  • 2005-2006 Martin Jansen

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 46]
Services_Yahoo Exception class

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

  • Author: Martin Jansen <mj@php.net>
  • Version: CVS: $Id: Exception.php,v 1.2 2006/10/02 12:53:33 mj Exp $
  • Copyright: 2005-2006 Martin Jansen
  • Extends: PEAR_Exception
  • License: Apache License, Version 2.0


[ Top ]


Class Variables

$errors = array()

[line 48]

  • Access: protected

Type:   mixed


[ Top ]



Method Detail

addError   [line 56]

void addError( string $error)

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

Parameters:

string   $error   —  Error message

[ Top ]

addErrors   [line 67]

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 92]

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 78]

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, 11 Mar 2019 15:00:17 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.