HintException¶
-
class
OC\
HintException
¶ - Class HintExceptionAn Exception class with the intention to be presented to the end user
Source: lib/private/HintException.php#37 Parent: Exception
Properties¶
Methods¶
-
public
OC\HintException::
__construct
($message, $hint="", $code=0, $previous=null)¶ - HintException constructor.
Source: Parameters: - $message (string) The error message. It will be not revealed to the
the user (unless the hint is empty) and thus should be not translated. * $hint (string) A useful message that is presented to the end user. It should be translated, but must not contain sensitive data. * $code (int) * $previous (
Exception
| null)
-
public
OC\HintException::
__toString
()¶ - Returns a string representation of this Exception that includes the errorcode, the message and the hint.
Source: lib/private/HintException.php#63 Returns: string
-
public
OC\HintException::
getHint
()¶ - Returns the hint with the intention to be presented to the end user. Ifan empty hint was specified upon instatiation, the message is returnedinstead.
Source: lib/private/HintException.php#74 Returns: string