\LengthtException.php

Show: inherited

RouterOS API client implementation.

This package allows you to read and write information from a RouterOS host using MikroTik's RouterOS API.

PHP version 5

Author
Vasil Rangelov  
Category
Net  
Copyright
2011 Vasil Rangelov  
License
LGPL License 2.1  
Link
http://netrouteros.sourceforge.net/  
Package
PEAR2_Net_RouterOS  
Version
1.0.0b1  

\PEAR2\Net\RouterOS\LengthException

Package: PEAR2\Net\RouterOS

Exception thrown when there is a problem with a word's length.

Implements
\PEAR2\Net\RouterOS\Exception
Parent(s)
\LengthException
Author
Vasil Rangelov  
Category
Net  
License
LGPL License 2.1  
Link
http://netrouteros.sourceforge.net/  

Properties

Propertyprivatemixed  $_length= 'null'

The unsuppported value.
Default valuenullDetails
Type
mixed

Methods

methodpublic__construct( string $message, int $code = 0, \PEAR2\Net\RouterOS\Exception $previous = null, \PEAR2\Net\RouterOS\number $value = null ) : void

Creates a new LengthException.

Parameters
Name Type Description
$message string

The Exception message to throw.

$code int

The Exception code.

$previous \PEAR2\Net\RouterOS\Exception

The previous exception used for the exception chaining.

$value \PEAR2\Net\RouterOS\number

The length.

methodpublic__toString( ) : string

Returns a string representation of the exception.

Returns
Type Description
string The exception as a string.
methodpublicgetCode( ) : void
finalinherited

Inherited from: \LengthException::getCode()
methodpublicgetFile( ) : void
finalinherited

Inherited from: \LengthException::getFile()
methodpublicgetLength( ) : \PEAR2\Net\RouterOS\number

Gets the length.

Returns
Type Description
\PEAR2\Net\RouterOS\number The length.
methodpublicgetLine( ) : void
finalinherited

Inherited from: \LengthException::getLine()
methodpublicgetMessage( ) : void
finalinherited

Inherited from: \LengthException::getMessage()
methodpublicgetPrevious( ) : void
finalinherited

Inherited from: \LengthException::getPrevious()
methodpublicgetTrace( ) : void
finalinherited

Inherited from: \LengthException::getTrace()
methodpublicgetTraceAsString( ) : void
finalinherited

Inherited from: \LengthException::getTraceAsString()
Documentation was generated by DocBlox 0.14.1.