EntityAddressConverterException extends AddressRequisiteConvertException
Table of Contents
Constants
- ACCESS_DENIED = 20
- CREATION_FAILED = 30
- ERR_CANT_PICK_PRESET_FOR_REQUISITE = 1010
- GENERAL = 10
- NONE = 0
Methods
- __construct() : mixed
- getEntityTypeID() : int
- Get entity type ID
- getLocalizedMessage() : mixed|string|array<string|int, string>
- Get localized error message
- getPresetID() : int
Constants
ACCESS_DENIED
public
mixed
ACCESS_DENIED
= 20
CREATION_FAILED
public
mixed
CREATION_FAILED
= 30
ERR_CANT_PICK_PRESET_FOR_REQUISITE
public
mixed
ERR_CANT_PICK_PRESET_FOR_REQUISITE
= 1010
GENERAL
public
mixed
GENERAL
= 10
NONE
public
mixed
NONE
= 0
Methods
__construct()
public
__construct(int $entityTypeID[, int $presetID = 0 ][, int $code = 0 ][, string $file = '' ][, int $line = 0 ][, Exception|null $previous = null ]) : mixed
Parameters
- $entityTypeID : int
-
Entity type ID.
- $presetID : int = 0
-
Preset ID.
- $code : int = 0
-
Error code.
- $file : string = ''
-
File path.
- $line : int = 0
-
line number.
- $previous : Exception|null = null
-
Previous error.
getEntityTypeID()
Get entity type ID
public
getEntityTypeID() : int
Return values
intgetLocalizedMessage()
Get localized error message
public
getLocalizedMessage() : mixed|string|array<string|int, string>
Return values
mixed|string|array<string|int, string>getPresetID()
public
getPresetID() : int