Zeta Components Manual :: Docs For Class ezcConsoleArgumentAlreadyRegisteredException
ConsoleTools::ezcConsoleArgumentAlreadyRegisteredException
Class ezcConsoleArgumentAlreadyRegisteredException
There is already an argument registered with the given name or at the given place.
Source for this file: /ConsoleTools/src/exceptions/argument_already_registered.php
Exception | --ezcBaseException | --ezcConsoleException | --ezcConsoleArgumentAlreadyRegisteredException
Version: | //autogen// |
Constants
NAMED
= 1
|
The name of the argument is already in use. |
ORDERED
= 2
|
The position of the argument is already in use. Unset the position first and the re-register. |
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(
$offset
, $type
)
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(
int
$offset
, int
$type
)
Creates a new exception object.
The $type parameter can either be ezcConsoleArgumentAlreadyRegisteredException::NAMED or ezcConsoleArgumentAlreadyRegisteredException::ORDERED, indicating if the name of the parameter or its place are already taken.
Parameters:
Name | Type | Description |
---|---|---|
$offset |
int | Offset of the already reagistered argument. |
$type |
int | Type of the offset. |
Redefinition of:
Method | Description |
---|---|
ezcBaseException::__construct() |
Constructs a new ezcBaseException with $message |
Documentation generated by phpDocumentor 1.4.3