com\setasign\Konquadrat

MultiLangException Class MultiLangException

File: /Konquadrat/src/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


Methods

__construct()

public MultiLangException::__construct (
string[] $message,
int $code = 0,
?\Throwable $previous = null
)

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

localizeMessage()

public MultiLangException::localizeMessage (
string $language
): void
Parameters
$language : string
 

localizedMessage()

WARNING: This method is marked as deprecated!

Fixed typo

public MultiLangException::localizedMessage (
string $language
): void
Parameters
$language : string