ez components / documentation / api reference / 2008.2.1 / consoletools

eZ Components 2008.2.1

ConsoleTools: ezcConsoleOptionException

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

Class: ezcConsoleOptionException

General exception container for the ConsoleTools component referring to option handling. [source]
This base container allows you to catch all exceptions which are related to errors produced by invalid user submitted options ezcConsoleInput::process().




Child Class Description
ezcConsoleOptionTooManyValuesException An option that expects only a single value was submitted with multiple values.
ezcConsoleOptionTypeViolationException An option was submitted with an illigal type.
ezcConsoleOptionMandatoryViolationException An option was marked to be mandatory but was not submitted.
ezcConsoleOptionArgumentsViolationException An option excludes the usage of arguments, but there were arguments submitted.
ezcConsoleOptionDependencyViolationException A dependency rule for a parameter was violated.
ezcConsoleOptionMissingValueException An option which expects a value was submitted without.
ezcConsoleOptionExclusionViolationException An exclusion rule for a parameter was violated.
ezcConsoleOptionNotExistsException Occurs if the requested option is not registered.

Inherited Member Variables

From ezcBaseException:
public  ezcBaseException::$originalMessage
From Exception (Internal Class):
protected  $code
protected  $file
protected  $line
protected  $message
private  $string
private  $trace

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 ( )
Last updated: Mon, 09 Feb 2009