Overview

Namespaces

  • TokenReflection
    • Broker
      • Backend
    • Dummy
    • Exception
    • Invalid
    • Php
    • Stream

Exceptions

  • BaseException
  • BrokerException
  • FileProcessingException
  • ParseException
  • RuntimeException
  • StreamException
  • Overview
  • Namespace
  • Class
  • Tree
  • Download

Class StreamException

TokenReflection exception raised when working with a token stream.

Exception
Extended by RuntimeException
Extended by TokenReflection\Exception\BaseException
Extended by TokenReflection\Exception\StreamException

Direct known subclasses

TokenReflection\Exception\ParseException
Namespace: TokenReflection\Exception
Located at Exception/StreamException.php
Methods summary
public
# __construct( TokenReflection\Stream\StreamBase $stream, string $message, integer $code )

Constructor.

Constructor.

Parameters

$stream
TokenReflection\Stream\StreamBase
$stream Reflection element
$message
string
$message Exception message
$code
integer
$code Exception code
public TokenReflection\Stream\StreamBase
# getStream( )

Returns the reflection element that caused the exception to be raised.

Returns the reflection element that caused the exception to be raised.

Returns

TokenReflection\Stream\StreamBase
public string
# getFileName( )

Returns the processed file name.

Returns the processed file name.

Returns

string
public string
# getDetail( )

Returns an exception description detail.

Returns an exception description detail.

Returns

string
Methods inherited from TokenReflection\Exception\BaseException
__toString(), getOutput()
Methods inherited from Exception
getCode(), getFile(), getLine(), getMessage(), getPrevious(), getTrace(), getTraceAsString()
Constants summary
integer NOT_READABLE 1001
#

The property/element does not exist.

The property/element does not exist.

integer READ_BEYOND_EOS 1002
#

A required PHP extension is missing.

A required PHP extension is missing.

integer SERIALIZATION_ERROR 1003
#

There was an error when (de)serializing the token stream.

There was an error when (de)serializing the token stream.

Constants inherited from TokenReflection\Exception\BaseException
ALREADY_EXISTS, DOES_NOT_EXIST, INVALID_ARGUMENT, PHP_EXT_MISSING, UNSUPPORTED
Properties inherited from Exception
$code, $file, $line, $message
PHP Token Reflection API documentation generated by ApiGen 2.8.0