Apache Zeta Components - high quality PHP components

Apache Zeta Components Manual :: Docs For Class ezcConsoleTooManyArgumentsException

ConsoleTools::ezcConsoleTooManyArgumentsException

Class ezcConsoleTooManyArgumentsException

Thrown if only a certain number of arguments were expected, but more were submitted.

This exception can be caught using ezcConsoleOptionException.

Source for this file: /ConsoleTools/src/exceptions/argument_too_many.php

Exception
   |
   --ezcBaseException
      |
      --ezcConsoleException
         |
         --ezcConsoleArgumentException
            |
            --ezcConsoleTooManyArgumentsException
Version:   //autogen//

Inherited Member Variables

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

Method Summary

public void __construct( $args , $i )
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 = ], [$previous = ] )
public void getCode ( )
public void getFile ( )
public void getLine ( )
public void getMessage ( )
public void getPrevious ( )
public void getTrace ( )
public void getTraceAsString ( )
public void __clone ( )
public void __toString ( )

Methods

__construct

void __construct( array(string) $args , int $i )

Creates a new exception object.

Parameters:
Name Type Description
$args array(string) Arguments array.
$i int Index in the arguments array.
Redefinition of:
Method Description
ezcBaseException::__construct() Constructs a new ezcBaseException with $message
Documentation generated by phpDocumentor 1.4.3