Path

ez components / documentation / api reference / 2007.2 / webdav


Webdav: ezcWebdavUnknownHeaderException

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

Class: ezcWebdavUnknownHeaderException

Exception thrown if a header to parse is unknown. [source]
There seems to be no way to determine headers by their original name in PHP, but only through the keys HTTP_* in $_SERVER. Therefore, the header must be known by {@ezcWebdavTransport->parseHeaders()} to get assigned properly.

Parents

Exception
   |
   --ezcBaseException
      |
      --ezcWebdavException
         |
         --ezcWebdavUnknownHeaderException

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( $headerName, $value, $expectedValue )
Creates a new exception.

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 $headerName, string $value, string $expectedValue )
Creates a new exception.

Parameters

Name Type Description
$headerName string Name of the affected header.
$value string Contained value.
$expectedValue string Expected values.

Redefinition of

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

Last updated: Mon, 17 Dec 2007