com\setasign\SetaSite\Controller
MultiLangException Class MultiLangException
File: /SetaSite/src/Controller/MultiLangException.php
This exception is used by the backend controllers to localize exception messages.
Class hierarchy
Implements
Summary
Properties
$code
protected \Exception::$code = 0
$file
protected \Exception::$file = ''
$line
protected \Exception::$line = 0
$message
protected \Exception::$message = ''
$multiLangMessage
private string[] MultiLangException::$multiLangMessage
Methods
__construct()
public MultiLangException::__construct ()
MultiLangException constructor.
Parameters
- $message : string[]
- $code : int
- $previous : ?\Throwable
__clone()
Internal PHP method: Exception::__clone
__toString()
Internal PHP method: Exception::__toString
__wakeup()
Internal PHP method: Exception::__wakeup
getCode()
Internal PHP method: Exception::getCode
getFile()
Internal PHP method: Exception::getFile
getLine()
Internal PHP method: Exception::getLine
getMessage()
Internal PHP method: Exception::getMessage
getPrevious()
Internal PHP method: Exception::getPrevious
getTrace()
Internal PHP method: Exception::getTrace
getTraceAsString()
Internal PHP method: Exception::getTraceAsString
localizedMessage()
public MultiLangException::localizedMessage (
string $language,
string $projectDefaultLanguage
): voidstring $projectDefaultLanguage
Parameters
- $language : string
- $projectDefaultLanguage : string
