Path

ez components / documentation / api reference / latest / webdav


eZ Components latest

Webdav: ezcWebdavInvalidHookException

[ Tutorial ] [ Clients ] [ Plugin architecture ] [ Class tree ] [ Element index ] [ ChangeLog ] [ Credits ]

Class: ezcWebdavInvalidHookException

Exception thrown if a plugin tries to register for a non-existent hook. [source]
If an instance of ezcWebdavPluginConfiguration returns an invalid class or hook name on the call to ezcWebdavPluginConfiguration::getHooks(), ezcWebdavPluginRegistry will throw this exception. This most propably means, that the plugin you try to configure is malicious or works only with a newer version of the Webdav component.

Parents

Exception
   |
   --ezcBaseException
      |
      --ezcWebdavException
         |
         --ezcWebdavInvalidHookException

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 void __construct( $class, [$hook = null] )
Initializes the exception with the given $class and $hook (the hook name that was requested) and sets the exception message from it.

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

void __construct( string $class, [string $hook = null] )
Initializes the exception with the given $class and $hook (the hook name that was requested) and sets the exception message from it.

Parameters

Name Type Description
$class string  
$hook string  

Redefinition of

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

Last updated: Mon, 21 Dec 2009