Console_CommandLine
[ class tree: Console_CommandLine ] [ index: Console_CommandLine ] [ all elements ]

Class: Console_CommandLine_Exception

Source Location: /Console_CommandLine-1.2.0/Console/CommandLine/Exception.php

Class Overview

PEAR_Exception
   |
   --Console_CommandLine_Exception

Class for exceptions raised by the Console_CommandLine package.


Author(s):

Version:

  • Release: 1.2.0

Copyright:

  • 2007 David JEAN LOUIS

Methods


Inherited Variables

Inherited Methods


Class Details

[line 47]
Class for exceptions raised by the Console_CommandLine package.


[ Top ]


Method Detail

factory   [line 78]

object an factory( string $code, array $params, Console_CommandLine $parser, [ $messages = array()])

Convenience method that builds the exception with the array of params by calling the message provider class.
  • Return: instance of Console_CommandLine_Exception
  • Access: public

Parameters:

string   $code     The string identifier of the exception.
array   $params     Array of template vars/values
Console_CommandLine   $parser     An instance of the parser
array   $messages     An optional array of messages passed to the message provider.

[ Top ]


Documentation generated on Thu, 25 Oct 2012 08:00:06 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.