silverorange Code


Site.SiteClassNotFoundException
/Site/exceptions/SiteClassNotFoundException.php at line 12

Class SiteClassNotFoundException

Exception
└─SwatException
└─SiteException
└─SiteClassNotFoundException

public class SiteClassNotFoundException
extends SiteException

Thrown when a class is not found

Copyright:
2006 silverorange
License:
http://www.gnu.org/copyleft/lesser.html LGPL License 2.1

Field Summary
protected string

$class_name

The name of the class that is not found.

Fields inherited from Site.SiteException
http_status_code, title
Fields inherited from Swat.SwatException
backtrace, class, displayer, logger
Constructor Summary

SiteClassNotFoundException(string message, integer code, string class_name)

Creates a new class not found exception.

Method Summary
string

getClassName()

Gets the name of the class that is not found.

Field Detail

/Site/exceptions/SiteClassNotFoundException.php at line 21

class_name

protected string $class_name = null

The name of the class that is not found


Constructor Detail

/Site/exceptions/SiteClassNotFoundException.php at line 33

SiteClassNotFoundException

public SiteClassNotFoundException(string message, integer code, string class_name)

Creates a new class not found exception

Parameters:
message - the message of the exception.
code - the code of the exception.
class_name - the name of the class that is not found.

Method Detail

/Site/exceptions/SiteClassNotFoundException.php at line 47

getClassName

public string getClassName()

Gets the name of the class that is not found

Returns:
the name of the class that is not found.

silverorange Code