AlreadySharedException
extends GenericShareException
in package
Class GenericEncryptionException
Tags
Table of Contents
Properties
- $existingShare : IShare
- $hint : mixed
Methods
- __construct() : mixed
- HintException constructor.
- __toString() : string
- Returns a string representation of this Exception that includes the error code, the message and the hint.
- getExistingShare() : IShare
- 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
$existingShare
private
IShare
$existingShare
$hint
private
mixed
$hint
Methods
__construct()
HintException constructor.
public
__construct(string $message, IShare $existingShare) : mixed
Parameters
- $message : string
- $existingShare : IShare
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
stringgetExistingShare()
public
getExistingShare() : IShare
Tags
Return values
ISharegetHint()
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