MathParser\Exceptions\UnknownConstantException Class Reference

Exception thrown when parsing or evaluating expressions containing an unknown constant. More...

Inheritance diagram for MathParser\Exceptions\UnknownConstantException:
MathParser\Exceptions\MathParserException

Public Member Functions

 __construct ($operator)
 Constructor. More...
 
 getConstant ()
 Get the unkown constant that was encountered. More...
 
- Public Member Functions inherited from MathParser\Exceptions\MathParserException
 getData ()
 Get additional information about the exception. More...
 

Additional Inherited Members

- Protected Attributes inherited from MathParser\Exceptions\MathParserException
 $data
 

Detailed Description

Exception thrown when parsing or evaluating expressions containing an unknown constant.

This should not happen under normal circumstances.

Constructor & Destructor Documentation

MathParser\Exceptions\UnknownConstantException::__construct (   $operator)

Constructor.

Create a UnknownConstantException.

Member Function Documentation

MathParser\Exceptions\UnknownConstantException::getConstant ( )

Get the unkown constant that was encountered.

Return values
string

The documentation for this class was generated from the following file: