Path

ez components / documentation / api reference / 2007.2beta1 / webdav


eZ Components 2007.2beta1

Webdav: ezcWebdavMissingHeaderException

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

Class: ezcWebdavMissingHeaderException

Exception thrown when a request/response object misses an essential header essential. [source]
ezcWebdavRequest::validateHeaders() will throw this exception, if a header, which is essential to the specific request, is not present. ezcWebdavTransport::sendResponse() will throw this exception, if a non-XML body should be sent and the header is not set.

Parents

Exception
   |
   --ezcBaseException
      |
      --ezcWebdavException
         |
         --ezcWebdavBadRequestException
            |
            --ezcWebdavMissingHeaderException

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 )
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 )
Creates a new exception.

Parameters

Name Type Description
$headerName string Name of the missing header.

Redefinition of

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

Last updated: Wed, 28 Nov 2007