OaiException
extends RuntimeException
in package
OAI-PMH exception class
Tags
Table of Contents
- $oaiCode : string
- Error code
- $oaiMessage : string
- Error message
- __construct() : mixed
- Constructor
- getOaiCode() : string
- Get OAI-PMH error code
- getOaiMessage() : string
- Get OAI-PMH error message
Properties
$oaiCode
Error code
protected
string
$oaiCode
$oaiMessage
Error message
protected
string
$oaiMessage
Methods
__construct()
Constructor
public
__construct(string $oaiCode, string $oaiMessage, int $code[, Throwable|null $previous = null ]) : mixed
Parameters
- $oaiCode : string
-
OAI-PMH error code
- $oaiMessage : string
-
OAI-PMH error message
- $code : int
-
Error code
- $previous : Throwable|null = null
-
Previous exception
Return values
mixed —getOaiCode()
Get OAI-PMH error code
public
getOaiCode() : string
Return values
string —getOaiMessage()
Get OAI-PMH error message
public
getOaiMessage() : string