\cg_InvalidDataException

An exception indicating that invalid data was passed to a class, method, or action.

Summary

Methods
Properties
Constants
__construct()
__toString()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct(string  $str = '', integer  $code, \Exception  $parent = null) 

Takes an exception message of the form [module]%%key[%%suffix] and format a language string

Parameters

string $str

The exception message

integer $code

The exception code

\Exception $parent

a parent exception

__toString()

__toString() 

Convert this exception to a string.