FederatedItemException
extends Exception
in package
implements
JsonSerializable
Class FederatedItemException
Interfaces, Classes, Traits and Enums
- JsonSerializable
Table of Contents
- $CHILDREN : mixed
- $status : int
- __construct() : mixed
- FederatedItemException constructor.
- getStatus() : int
- jsonSerialize() : array<string|int, mixed>
- setStatus() : void
Properties
$CHILDREN
public
static mixed
$CHILDREN
= [\OCA\Circles\Exceptions\FederatedItemBadRequestException::class, \OCA\Circles\Exceptions\FederatedItemConflictException::class, \OCA\Circles\Exceptions\FederatedItemForbiddenException::class, \OCA\Circles\Exceptions\FederatedItemNotFoundException::class, \OCA\Circles\Exceptions\FederatedItemRemoteException::class, \OCA\Circles\Exceptions\FederatedItemServerException::class, \OCA\Circles\Exceptions\FederatedItemUnauthorizedException::class]
$status
private
int
$status
= \OCP\AppFramework\Http::STATUS_BAD_REQUEST
Methods
__construct()
FederatedItemException constructor.
public
__construct([string $message = '' ], int $code[, Throwable|null $previous = null ]) : mixed
Parameters
- $message : string = ''
- $code : int
- $previous : Throwable|null = null
Return values
mixed —getStatus()
public
getStatus() : int
Return values
int —jsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed> —setStatus()
protected
setStatus(int $status) : void
Parameters
- $status : int