ProviderAlreadyExistsException
extends HintException
in package
Class ProviderAlreadyExistsException
Tags
Table of Contents
Properties
- $hint : mixed
Methods
- __construct() : mixed
- ProviderAlreadyExistsException constructor.
- __toString() : string
- Returns a string representation of this Exception that includes the error code, the message and the hint.
- getHint() : string
- Returns the hint with the intention to be presented to the end user. If an empty hint was specified upon instantiation, the message is returned instead.
Properties
$hint
private
mixed
$hint
Methods
__construct()
ProviderAlreadyExistsException constructor.
public
__construct(string $newProviderId, string $existingProviderName) : mixed
Parameters
- $newProviderId : string
-
cloud federation provider ID of the new provider
- $existingProviderName : string
-
name of cloud federation provider which already use the same ID
Tags
__toString()
Returns a string representation of this Exception that includes the error code, the message and the hint.
public
__toString() : string
Tags
Return values
stringgetHint()
Returns the hint with the intention to be presented to the end user. If an empty hint was specified upon instantiation, the message is returned instead.
public
getHint() : string