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

Class: Net_UserAgent_Mobile_GPS_Exception

Source Location: /Net_UserAgent_Mobile_GPS-0.1.1/UserAgent/Mobile/GPS/Exception.php

Class Overview

PEAR_Exception
   |
   --Net_UserAgent_Mobile_GPS_Exception

Net_GPS_Exception class


Author(s):

Version:

  • Release: 0.0.1

Copyright:

  • 2008 Kei Horikita

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 64]
Net_GPS_Exception class

This class provides a exception for Net_GPS



[ Top ]


Class Variables

$errors = array()

[line 70]

stack error message
  • Access: protected

Type:   array


[ Top ]



Method Detail

addError   [line 79]

void addError( string $error)

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

Parameters:

string   $error   —  Error message

[ Top ]

addErrors   [line 91]

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

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

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:25:30 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.