Overview

Packages

  • Components
    • Actors
      • Controller
        • Behavior
        • Toolbar
      • Domain
        • Authorizer
        • Behavior
        • Entity
      • Template
        • Helper
      • View
    • Base
      • Controller
        • Behavior
        • Toolbar
      • Domain
        • Authorizer
        • Behavior
        • Entity
      • Template
        • Filter
        • Helper
      • View
    • Composer
      • Controller
      • Template
    • Medium
      • Controller
        • Behavior
        • Toolbar
      • Domain
        • Authorizer
        • Behavior
        • Entity
        • Validator
      • Filter
      • View
    • People
      • Controller
        • Validator
      • Domain
        • Entity
  • Libraries
    • Anahita
      • Domain
        • Attribute
        • Behavior
        • Description
        • Entity
        • Entityset
        • Exception
        • Property
        • Query
        • Relationship
        • Repository
        • Resource
        • Serializer
        • Space
        • Store
        • Validator
      • Filter
      • Helper
      • Loader
        • Adapter
      • Object
      • Service
        • Locator
    • Base
      • Controller
        • Behavior
        • Validator
      • Dispatcher
      • Domain
        • Authorizer
        • Behavior
        • Space
        • Store
      • Helper
      • Template
        • Filter
        • Helper
      • View
    • Koowa
      • Behavior
      • Command
      • Config
      • Controller
        • Behavior
        • Toolbar
      • Database
        • Adapter
        • Behavior
        • Filter
        • Query
        • Row
        • Rowset
        • Schema
        • Table
      • Date
      • Dispatcher
      • Event
        • Subscriber
      • Exception
      • Filter
      • Helper
        • Array
        • String
      • Http
      • Inflector
      • Loader
        • Adapter
      • Mixin
      • Model
      • Object
      • Request
      • Service
        • Identifier
        • Locator
      • Template
        • Filter
        • Helper
      • View
    • People
      • Helper
    • Themes
      • Filter
      • Helper
    • Users
      • Domain
        • Entity
  • Modules
    • Base
  • None
  • Plugins
    • Contentfilter
    • Profile
    • Storage

Interfaces

  • KExceptionInterface

Exceptions

  • KException
  • KExceptionError
  • Overview
  • Package
  • Class
  • Tree

Class KException

Exception Class

KException is the base class for all koowa related exceptions and provides an additional method for printing up a detailed view of an exception.

KException has support for nested exceptions which is a feature that was only added in PHP 5.3

Exception
Extended by KException implements KExceptionInterface

Direct known subclasses

AnDomainAttributeException, AnDomainDescriptionException, AnDomainStoreException, KBehaviorException, KCommandException, KConfigException, KControllerException, KDatabaseException, KDateException, KDispatcherException, KEventException, KFilterException, AnDomainEntityException, KHelperException, KHttpException, KInflectorException, KLoaderAdapterException, KLoaderException, KMixinException, KModelException, KObjectException, KRequestException, KServiceException, AnDomainExceptionMapping, KTemplateException, KViewException, AnDomainExceptionType, AnDomainExceptionValidation, AnDomainPropertyException, AnDomainQueryException, AnDomainRelationshipException, AnDomainRepositoryException

Indirect known subclasses

KControllerBehaviorException, KControllerToolbarException, KTemplateFilterException, KTemplateHelperException, KDatabaseAdapterException, KDatabaseBehaviorException, KDatabaseRowException, KDatabaseRowsetException, KDatabaseSchemaException, KDatabaseTableException, KServiceIdentifierException, KServiceLocatorException
Package: Libraries\Koowa\Exception
Copyright: Copyright (C) 2007 - 2012 Johan Janssens. All rights reserved.
License: GPLv3 <http://www.gnu.org/licenses/gpl.html>
Author: Johan Janssens <johan@nooku.org>
Located at koowa/exception/exception.php
Methods summary
public
# __construct( string $message = null, integer $code = KHttpResponse::INTERNAL_SERVER_ERROR, Exception $previous = null )

Constructor

Constructor

Parameters

$message
string
The exception message
$code
integer
The exception code
$previous
object
The previous exception
public mixed
# __call( string $method, array $args )

Overloading

Overloading

For PHP < 5.3.0, provides access to the getPrevious() method.

Parameters

$method
string
The function name
$args
array
The function arguments

Returns

mixed
protected Exception
# _getPrevious( )

Get the previous Exception

Get the previous Exception

Returns

Exception
public string
# __toString( )

Format the exception for display

Format the exception for display

Returns

string
Methods inherited from Exception
getCode(), getFile(), getLine(), getMessage(), getPrevious(), getTrace(), getTraceAsString()
Properties inherited from Exception
$code, $file, $line, $message
Anahita Social Networking Framework API documentation generated by ApiGen 2.6.1