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

Class: Console_CommandLine_Exception

Source Location: /Console_CommandLine-1.0.0RC3/CommandLine/Exception.php

Class Overview

PEAR_Exception
   |
   --Console_CommandLine_Exception

Class for exceptions raised by the Console_CommandLine package.


Author(s):

Version:

  • Release: 1.0.0RC3

Copyright:

  • 2007 David JEAN LOUIS

Methods


Inherited Variables

Inherited Methods


Class Details

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


[ Top ]


Method Detail

build   [line 74]

object an build( string $code, array $params, object $parser)

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   —  an array containing the vars of the message tpl
object   $parser   —  an instance of Console_CommandLine

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:17:13 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.