Path

ez components / documentation / api reference / latest / consoletools


eZ Components latest

ConsoleTools: ezcConsoleArgumentTypeViolationException

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

Class: ezcConsoleArgumentTypeViolationException

An argument was submitted with an illigal type. [source]
This exception can be caught using ezcConsoleArgumentException.

Parents

Exception
   |
   --ezcBaseException
      |
      --ezcConsoleException
         |
         --ezcConsoleArgumentException
            |
            --ezcConsoleArgumentTypeViolationException

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( $arg, $value )
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( ezcConsoleArgument $arg, mixed $value )
Creates a new exception object.

Parameters

Name Type Description
$arg ezcConsoleArgument The violated argument.
$value mixed The incorrect value.

Redefinition of

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

Last updated: Mon, 21 Dec 2009