mojavi
[ class tree: mojavi ] [ index: mojavi ] [ all elements ]

Class: MojaviException

Source Location: /exception/MojaviException.class.php

Class Overview

Exception
   |
   --MojaviException

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


Author(s):

  • Sean Kerr (skerr@mojavi.org)

Version:

  • $Id: MojaviException.class.php 707 2004-12-28 17:48:28Z seank $

Copyright:

Methods


Child classes:

ConfigurationException
ConfigurationException is thrown when the framework finds an error in a configuration setting.
SecurityException
SecurityException is thrown when a security related error occurs.
FactoryException
FactoryException is thrown when an error occurs while attempting to create a new factory implementation instance.
ControllerException
ControllerException is thrown when a requested Controller implementation doesn't exist.
AutoloadException
AutoloadException is thrown when a class that has been required cannot be loaded.
ViewException
ViewException is thrown when an error occurs in a view.
RenderException
RenderException is thrown when a view's pre-render check fails.
FileException
FileException is thrown when an error occurs while moving an uploaded file.
FilterException
FilterException is thrown when an error occurs while attempting to initialize or execute a filter.
ValidatorException
ValidatorException is thrown when an error occurs in a validator.
LoggingException
LoggingException is thrown when a logging related error occurs.
CacheException
CacheException is thrown when ConfigCache fails to execute properly.
InitializationException
InitializationException is thrown when an initialization procedure fails.
StorageException
StorageException is thrown when a requested Storage implementation doesn't exist or data cannot be read from or written to the storage.
ForwardException
ForwardException is thrown when an error occurs while attempting to forward the request.
DatabaseException
DatabaseException is thrown when a database related error occurs.

Class Details

[line 25]
MojaviException is the base class for all Mojavi related exceptions and provides an additional method for printing up a detailed view of an exception.



Tags:

version:  $Id: MojaviException.class.php 707 2004-12-28 17:48:28Z seank $
since:  3.0.0
copyright:  (c) Sean Kerr, http://www.mojavi.org
author:  Sean Kerr (skerr@mojavi.org)


[ Top ]


Class Methods


constructor __construct [line 48]

MojaviException __construct( [string $message = null], [int $code = 0])

Class constructor.



Tags:

access:  public
since:  3.0.0
author:  Sean Kerr (skerr@mojavi.org)


Overridden in child classes as:

ConfigurationException::__construct()
Class constructor.
ParseException::__construct()
Class constructor.
SecurityException::__construct()
Class constructor.
FactoryException::__construct()
Class constructor.
ControllerException::__construct()
Class constructor.
AutoloadException::__construct()
Class constructor.
ViewException::__construct()
Class constructor.
RenderException::__construct()
Class constructor.
FileException::__construct()
Class constructor.
FilterException::__construct()
Class constructor.
ValidatorException::__construct()
Class constructor.
LoggingException::__construct()
Class constructor.
CacheException::__construct()
Class constructor.
InitializationException::__construct()
Class constructor.
StorageException::__construct()
Class constructor.
ForwardException::__construct()
Class constructor.
DatabaseException::__construct()
Class constructor.

Parameters:

string   $message   The error message.
int   $code   The error code.

[ Top ]

method getName [line 69]

string getName( )

Retrieve the name of this exception.



Tags:

return:  This exception's name.
access:  public
since:  3.0.0
author:  Sean Kerr (skerr@mojavi.org)


[ Top ]

method printStackTrace [line 89]

void printStackTrace( [string $format = 'html'])

Print the stack trace for this exception.



Tags:

access:  public
since:  3.0.0
author:  Sean Kerr (skerr@mojavi.org)


Parameters:

string   $format   The format you wish to use for printing. Options include:
  • html
  • plain

[ Top ]

method setName [line 215]

void setName( string $name)

Set the name of this exception.



Tags:

access:  protected
since:  3.0.0
author:  Sean Kerr (skerr@mojavi.org)


Parameters:

string   $name   An exception name.

[ Top ]


Documentation generated on Tue, 21 Feb 2006 01:45:21 +0900 by phpDocumentor 1.3.0RC5