Class FileMaker_Error

Description

Extension of PEAR_Error for use in all FileMaker classes.

Located in /FileMaker/Error.php (line 30)

PEAR_Error
   |
   --FileMaker_Error
Direct descendents
Class Description
FileMaker_Error_Validation Extension of FileMaker_Error for adding additional information about validation errors.
Method Summary
FileMaker_Error FileMaker_Error (FileMaker_Delegate &$fm, [string $message = null], [integer $code = null])
string getErrorString ()
string getMessage ()
boolean isValidationError ()
Methods
Constructor FileMaker_Error (line 47)

Overloaded constructor.

FileMaker_Error FileMaker_Error (FileMaker_Delegate &$fm, [string $message = null], [integer $code = null])
  • FileMaker_Delegate &$fm: The FileMaker_Delegate object this error came from.
  • string $message: Error message.
  • integer $code: Error code.
getErrorString (line 78)

Return the string representation of $this->code, in the language currently set on $this->_fm. You should call getMessage() in most cases if you are not sure that the error is an XML error with an error code.

  • return: The error description.
string getErrorString ()
getMessage (line 62)

Overload getMessage() to return XML error equivalents if no message is explicitly set and we have an error code.

  • return: Error message.
string getMessage ()
isValidationError (line 107)

Indicates whether or not the error is a detailed validation error message, or if it is a server message.

  • return: False.
boolean isValidationError ()

Redefined in descendants as:

Documentation generated on Thu, 06 Jul 2006 15:52:28 -0700 by phpDocumentor 1.2.3