Overview

Packages

  • None
  • thrift
    • transport

Classes

  • Argument
  • ContainerType
  • FacebookBase
  • FacebookService_aliveSince_args
  • FacebookService_aliveSince_result
  • FacebookService_getCounter_args
  • FacebookService_getCounter_result
  • FacebookService_getCounters_args
  • FacebookService_getCounters_result
  • FacebookService_getCpuProfile_args
  • FacebookService_getCpuProfile_result
  • FacebookService_getLimitedReflection_args
  • FacebookService_getLimitedReflection_result
  • FacebookService_getName_args
  • FacebookService_getName_result
  • FacebookService_getOption_args
  • FacebookService_getOption_result
  • FacebookService_getOptions_args
  • FacebookService_getOptions_result
  • FacebookService_getStatus_args
  • FacebookService_getStatus_result
  • FacebookService_getStatusDetails_args
  • FacebookService_getStatusDetails_result
  • FacebookService_getVersion_args
  • FacebookService_getVersion_result
  • FacebookService_reinitialize_args
  • FacebookService_setOption_args
  • FacebookService_setOption_result
  • FacebookService_shutdown_args
  • FacebookServiceClient
  • FacebookServiceProcessor
  • fb_status
  • Method
  • Service
  • SimpleType
  • TBase
  • TBinaryProtocol
  • TBinaryProtocolAccelerated
  • TBinaryProtocolFactory
  • ThriftType
  • TMessageType
  • TProtocol
  • TType
  • TTypeTag

Interfaces

  • FacebookServiceIf
  • Horde_Thrift
  • TProtocolFactory

Exceptions

  • TApplicationException
  • TException
  • TProtocolException
  • TTransportException

Functions

  • apc_fetch
  • apc_store
  • Overview
  • Package
  • Class
  • Tree

Class TApplicationException

NOTE(mcslee): This currently contains a ton of duplicated code from TBase because we need to save CPU cycles and this is not yet in an extension. Ideally we'd multiply-inherit TException from both Exception and Base, but that's not possible in PHP and there are no modules either, so for now we apologetically take a trip to HackTown.

Can be called with standard Exception constructor (message, code) or with Thrift Base object constructor (spec, vals).

Exception
Extended by TException
Extended by TApplicationException
Param: mixed $p1 Message (string) or type-spec (array)
Param: mixed $p2 Code (integer) or values (array)
Located at Horde/Thrift/thrift_root/Thrift.php
Methods summary
public
# __construct( mixed $message = null, mixed $code = 0 )

Overrides

TException::__construct()
public
# read( mixed $output )
public
# write( mixed $output )
Methods inherited from Exception
__toString(), getCode(), getFile(), getLine(), getMessage(), getPrevious(), getTrace(), getTraceAsString()
Constants summary
integer UNKNOWN
# 0
integer UNKNOWN_METHOD
# 1
integer INVALID_MESSAGE_TYPE
# 2
integer WRONG_METHOD_NAME
# 3
integer BAD_SEQUENCE_ID
# 4
integer MISSING_RESULT
# 5
Properties summary
public static array $_TSPEC
# array(1 => array('var' => 'message', 'type' => TType::STRING), 2 => array('var' => 'code', 'type' => TType::I32))
Properties inherited from TException
$tmethod
API documentation generated by ApiGen