\nre\exceptionsAgentNotValidException

Exception: Agent not valid.

Summary

Methods
Properties
Constants
__construct()
getClassName()
getAgentName()
No public properties found
CODE
MESSAGE
No protected methods found
No protected properties found
N/A
concat()
$className
N/A

Constants

CODE

CODE

Error code

MESSAGE

MESSAGE

Error message

Properties

$className

$className : string

Name of the invalid class

Type

string

Methods

__construct()

__construct(string  $agentName) 

Construct a new exception.

Parameters

string $agentName

Name of the invalid Agent

getClassName()

getClassName() : string

Get the name of the invalid class.

Returns

string —

Name of the invalid class

getAgentName()

getAgentName() : string

Get the name of the invalid Agent.

Returns

string —

Name of the invalid Agent

concat()

concat(string  $message, string  $name) 

Insert the name in a message

Parameters

string $message

Error message

string $name

Name to insert