Path

ez components / documentation / api reference / 2008.2.1 / consoletools


eZ Components 2008.2.1

ConsoleTools: ezcConsoleOptionMissingValueException

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

Class: ezcConsoleOptionMissingValueException

An option which expects a value was submitted without. [source]
This exception can be caught using ezcConsoleOptionException.

Parents

Exception
   |
   --ezcBaseException
      |
      --ezcConsoleException
         |
         --ezcConsoleOptionException
            |
            --ezcConsoleOptionMissingValueException

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( $option )
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 $option )
Creates a new exception object.

Parameters

Name Type Description
$option ezcConsoleOption The option the value is missing for The option the value is missing for..

Redefinition of

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

Last updated: Mon, 09 Feb 2009