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

Class: File_Fortune_Exception

Source Location: /File_Fortune-0.9.0/File/Fortune/Exception.php

Class Overview

PEAR_Exception
   |
   --File_Fortune_Exception

File_Fortune_Exception: Exception classes for File_Fortune and File_Fortune_Writer


Author(s):

Version:

  • Release: 0.9.0

Child classes:

File_Fortune_Exception_NoFilename
File_Fortune_Exception_NoFilename is thrown whenever an attempt is made to open a fortune file without specifying a file name.
File_Fortune_Exception_NoFile
File_Fortune_Exception_NoFile is thrown whenever an attempt is made to read from an unopened file.
File_Fortune_Exception_BadFile
File_Fortune_Exception_BadFile is thrown whenever a file cannot be opened (missing file, error opening file).
File_Fortune_Exception_BadHeaderFile
File_Fortune_Exception_BadHeaderFile is thrown if an error occurs opening the header file or if the header file is malformed.
File_Fortune_Exception_HeaderNotRead
File_Fortune_Exception_HeaderNotRead is thrown whenever an operation requiring elements obtained from the header is called and those elements are missing.
File_Fortune_Exception_InvalidCount
File_Fortune_Exception_InvalidCount is thrown when an attempt is made to read a fortune ID that is beyond the number of fortunes available in the file, and all fortunes have been previously read into File_Fortune::$fortunes.
File_Fortune_Exception_NotOpen
File_Fortune_Exception_NotOpen is thrown when an attempt is made to read from an unopened fortune file.
File_Fortune_Exception_InvalidID
File_Fortune_Exception_InvalidID is thrown when an attempt is made to read a fortune ID for which there is no corresponding offset.
File_Fortune_Exception_Offset
File_Fortune_Exception_Offset is thrown when reading from a fortune file and fseek() is unable to seek to the desired fortune offset.
File_Fortune_Writer_Exception
File_Fortune_Writer base exception class.

Inherited Variables

Inherited Methods


Class Details

[line 27]
File_Fortune_Exception: Exception classes for File_Fortune and File_Fortune_Writer

File_Fortune base exception class; all File_Fortune and File_Fortune_Writer exceptions inherit from this class.

  • Version: Release: 0.9.0


[ Top ]


Documentation generated on Mon, 11 Mar 2019 14:18:34 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.