setasign\SetaPDF2\Signer\Exception

ContentLength An exception which is thrown if the reserved space in a signature template is to small

File: /SetaPDF v2/Signer/Exception/ContentLength.php
Old class name (alias): \SetaPDF_Signer_Exception_ContentLength

Class hierarchy

Implements

Summary

Properties

$_expectedLength

The expected Length.

$code

protected \Exception::$code = 0

$file

protected \Exception::$file = ''

$line

protected \Exception::$line = 0

$message

protected \Exception::$message = ''

Methods

__construct()

Internal PHP method: Exception::__construct

__clone()

Internal PHP method: Exception::__clone

__toString()

Internal PHP method: Exception::__toString

__wakeup()

Internal PHP method: Exception::__wakeup

getCode()

Internal PHP method: Exception::getCode

getExpectedLength()

public ContentLength::getExpectedLength (
void
): int

Get the expected length value.

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

setExpectedLength()

public ContentLength::setExpectedLength (
int $expectedLength
): void

Set the expected length value.

Parameters
$expectedLength : int