Class IOException

Description

Basic Input / Output Exception

Located in /IOException.php (line 17)

Exception
   |
   --IOException
Class Constant Summary
Method Summary
static IOException notFound (string $path)
static IOException notReadable (string $path)
static IOException notWritable (string $path)
static IOException readError (string $path)
static IOException writeError (string $path)
IOException __construct (string $path, [integer $type = null])
Variables

Inherited Variables

Inherited from Exception (Internal Class)

$code
$file
$line
$message
$previous
$string
$trace
Methods
static method notFound (line 57)

Create new FileNotFound-Exception

  • return: new FileNotFound-Exception
  • access: public
static IOException notFound (string $path)
  • string $path: Source of the problem
static method notReadable (line 66)

Create new FileNotReadable-Exception

  • return: new FileNotReadable-Exception
  • access: public
static IOException notReadable (string $path)
  • string $path: Source of the problem
static method notWritable (line 75)

Create new FileNotWritable-Exception

  • return: new FileNotWritable-Exception
  • access: public
static IOException notWritable (string $path)
  • string $path: Source of the problem
static method readError (line 84)

Create new ReadError-Exception

  • return: new ReadError-Exception
  • access: public
static IOException readError (string $path)
  • string $path: Source of the problem
static method writeError (line 93)

Create new WriteError-Exception

  • return: new WriteError-Exception
  • access: public
static IOException writeError (string $path)
  • string $path: Source of the problem
Constructor __construct (line 48)

Create new IOException

  • access: public
IOException __construct (string $path, [integer $type = null])
  • string $path: Source of the problem
  • integer $type: Type of the problem

Redefinition of:
Exception::constructor __construct ( [$message = ], [$code = ], [$previous = ] )

Inherited Methods

Inherited From Exception (Internal Class)

constructor __construct ( [$message = ], [$code = ], [$previous = ] )
getCode ( )
getFile ( )
getLine ( )
getMessage ( )
getPrevious ( )
getTrace ( )
getTraceAsString ( )
__clone ( )
__toString ( )
Class Constants
NOT_FOUND = 1 (line 21)

Flag telling the File could not be found

NOT_READABLE = 2 (line 26)

Flag telling the File is not readable

NOT_WRITABLE = 3 (line 31)

Flag telling the File is not writable

READ_ERROR = 4 (line 36)

Flag telling there was a read error

WRITE_ERROR = 5 (line 41)

Flag telling there was a read error

Documentation generated on Fri, 01 Jan 2010 21:33:35 +0100 by phpDocumentor 1.4.1