Path

ez components / documentation / api reference / latest / consoletools


eZ Components latest

ConsoleTools: ezcConsoleOptionDependencyViolationException

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

Class: ezcConsoleOptionDependencyViolationException

A dependency rule for a parameter was violated. [source]
This exception can be caught using ezcConsoleOptionException.

Parents

Exception
   |
   --ezcBaseException
      |
      --ezcConsoleException
         |
         --ezcConsoleOptionException
            |
            --ezcConsoleOptionDependencyViolationException

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( $dependingOption, $dependantOption, [$valueRange = null] )
Creates a new exception object.

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( ezcConsoleOption $dependingOption, ezcConsoleOption $dependantOption, [mixed $valueRange = null] )
Creates a new exception object.

Parameters

Name Type Description
$dependingOption ezcConsoleOption The depending option.
$dependantOption ezcConsoleOption The option depended on.
$valueRange mixed The dependend value range.

Redefinition of

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

Last updated: Mon, 21 Dec 2009