1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс RestException
Граф наследования:RestException:
AccessException ArgumentException InvalidOperationException NotSupportedException ObjectNotFoundException OAuthException AuthTypeException LicenseException ArgumentNullException ArgumentOutOfRangeException ArgumentTypeException ObjectPropertyException

Открытые члены

 __construct ($message, $code="", $status=0, \Exception $previous=null)
 getErrorCode ()
 setErrorCode ($error_code)
 getStatus ()
 setStatus ($status)
 setMessage ($msg)
 getAdditional ()
 setAdditional ($error_additional)
 setApplicationException (\CApplicationException $ex)

Открытые статические члены

static initFromException (\Exception $e)

Поля данных

const ERROR_INTERNAL_WRONG_TRANSPORT = 'INTERNAL_WRONG_TRANSPORT'
const ERROR_INTERNAL_WRONG_HANDLER_CLASS = 'INTERNAL_WRONG_HANDLER_CLASS'
const ERROR_INTERNAL_WRONG_FILE_HANDLER = 'INTERNAL_WRONG_FILE_HANDLER'
const ERROR_INTERNAL_PORTAL_DELETED = 'PORTAL_DELETED'
const ERROR_OAUTH = 'ERROR_OAUTH'
const ERROR_METHOD_NOT_FOUND = 'ERROR_METHOD_NOT_FOUND'
const ERROR_OPERATION_TIME_LIMIT = 'OPERATION_TIME_LIMIT'
const ERROR_CORE = 'ERROR_CORE'
const ERROR_ARGUMENT = 'ERROR_ARGUMENT'
const ERROR_NOT_FOUND = 'ERROR_NOT_FOUND'

Защищенные данные

 $status
 $error_code
 $error_additional = array()

Подробное описание

См. определение в файле restexception.php строка 4

Конструктор(ы)

◆ __construct()

__construct ( $message,
$code = "",
$status = 0,
\Exception $previous = null )

См. определение в файле restexception.php строка 23

Методы

◆ getAdditional()

getAdditional ( )

См. определение в файле restexception.php строка 58

◆ getErrorCode()

getErrorCode ( )

Переопределяется в OAuthException.

См. определение в файле restexception.php строка 32

◆ getStatus()

getStatus ( )

См. определение в файле restexception.php строка 43

◆ initFromException()

initFromException ( \Exception $e)
static

См. определение в файле restexception.php строка 82

◆ setAdditional()

setAdditional ( $error_additional)

См. определение в файле restexception.php строка 63

◆ setApplicationException()

setApplicationException ( \CApplicationException $ex)

См. определение в файле restexception.php строка 68

◆ setErrorCode()

setErrorCode ( $error_code)

См. определение в файле restexception.php строка 37

◆ setMessage()

setMessage ( $msg)

См. определение в файле restexception.php строка 53

◆ setStatus()

setStatus ( $status)

См. определение в файле restexception.php строка 48

Поля

◆ $error_additional

$error_additional = array()
protected

См. определение в файле restexception.php строка 21

◆ $error_code

$error_code
protected

См. определение в файле restexception.php строка 20

◆ $status

$status
protected

См. определение в файле restexception.php строка 19

◆ ERROR_ARGUMENT

const ERROR_ARGUMENT = 'ERROR_ARGUMENT'

См. определение в файле restexception.php строка 16

◆ ERROR_CORE

const ERROR_CORE = 'ERROR_CORE'

См. определение в файле restexception.php строка 15

◆ ERROR_INTERNAL_PORTAL_DELETED

const ERROR_INTERNAL_PORTAL_DELETED = 'PORTAL_DELETED'

См. определение в файле restexception.php строка 10

◆ ERROR_INTERNAL_WRONG_FILE_HANDLER

const ERROR_INTERNAL_WRONG_FILE_HANDLER = 'INTERNAL_WRONG_FILE_HANDLER'

См. определение в файле restexception.php строка 9

◆ ERROR_INTERNAL_WRONG_HANDLER_CLASS

const ERROR_INTERNAL_WRONG_HANDLER_CLASS = 'INTERNAL_WRONG_HANDLER_CLASS'

См. определение в файле restexception.php строка 8

◆ ERROR_INTERNAL_WRONG_TRANSPORT

const ERROR_INTERNAL_WRONG_TRANSPORT = 'INTERNAL_WRONG_TRANSPORT'

См. определение в файле restexception.php строка 7

◆ ERROR_METHOD_NOT_FOUND

const ERROR_METHOD_NOT_FOUND = 'ERROR_METHOD_NOT_FOUND'

См. определение в файле restexception.php строка 13

◆ ERROR_NOT_FOUND

const ERROR_NOT_FOUND = 'ERROR_NOT_FOUND'

См. определение в файле restexception.php строка 17

◆ ERROR_OAUTH

const ERROR_OAUTH = 'ERROR_OAUTH'

См. определение в файле restexception.php строка 12

◆ ERROR_OPERATION_TIME_LIMIT

const ERROR_OPERATION_TIME_LIMIT = 'OPERATION_TIME_LIMIT'

См. определение в файле restexception.php строка 14


Объявления и описания членов класса находятся в файле: