Path

ez components / documentation / api reference / latest / base


eZ Components latest

Base: ezcBaseFilePermissionException

[ Tutorial ] [ Class tree ] [ Element index ] [ ChangeLog ] [ Credits ]

Class: ezcBaseFilePermissionException

ezcBaseFilePermissionException is thrown whenever a permission problem with a file, directory or stream occurred. [source]

Parents

Exception
   |
   --ezcBaseException
      |
      --ezcBaseFileException
         |
         --ezcBaseFilePermissionException

Inherited Constants

From ezcBaseFileException:
ezcBaseFileException::CHANGE
ezcBaseFileException::EXECUTE
ezcBaseFileException::READ
ezcBaseFileException::REMOVE
ezcBaseFileException::WRITE

Inherited Member Variables

From ezcBaseException:
public  ezcBaseException::$originalMessage
From Exception (Internal Class):
protected  $code
protected  $file
protected  $line
protected  $message
private  $string
private  $trace

Method Summary

public ezcBaseFilePermissionException __construct( $path, $mode, [$message = null] )
Constructs a new ezcPropertyPermissionException for the property $name.

Inherited Methods

From ezcBaseException :
public ezcBaseException ezcBaseException::__construct()
Constructs a new ezcBaseException with $message
From Exception (Internal Class) :
public Exception constructor __construct ( $message, $code )
public void getCode ( )
public void getFile ( )
public void getLine ( )
public void getMessage ( )
public void getTrace ( )
public void getTraceAsString ( )
public void __clone ( )
public void __toString ( )

Methods

__construct

ezcBaseFilePermissionException __construct( string $path, int $mode, [string $message = null] )
Constructs a new ezcPropertyPermissionException for the property $name.

Parameters

Name Type Description
$path string The name of the file.
$mode int The mode of the property that is allowed (ezcBaseFileException::READ, ezcBaseFileException::WRITE, ezcBaseFileException::EXECUTE, ezcBaseFileException::CHANGE or ezcBaseFileException::REMOVE).
$message string A string with extra information.

Redefinition of

Method Description
ezcBaseException::__construct() Constructs a new ezcBaseException with $message

Last updated: Mon, 21 Dec 2009