silverorange Code


Swat.SwatFileNotFoundException
/Swat/exceptions/SwatFileNotFoundException.php at line 14

Class SwatFileNotFoundException

Exception
└─SwatException
└─SwatFileNotFoundException

public class SwatFileNotFoundException
extends SwatException

Thrown when a file is not found

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

Field Summary
protected string

$filename

The filename that caused this exception to be thrown.

Fields inherited from Swat.SwatException
backtrace, class, displayer, logger
Constructor Summary

SwatFileNotFoundException(string message, integer code, string filename)

Creates a new file not found exception.

Method Summary
string

getFilename()

Gets the filename of that caused this exception to be thrown.

Methods inherited from Swat.SwatException
display, displayStyleSheet, formatSensitiveParam, formatValue, getArguments, getClass, getSummary, handle, isSensitiveParameter, log, process, setDisplayer, setLogger, setupHandler, toString, toXHTML, wasHandled

Field Detail

/Swat/exceptions/SwatFileNotFoundException.php at line 23

filename

protected string $filename = ''

The filename that caused this exception to be thrown.


Constructor Detail

/Swat/exceptions/SwatFileNotFoundException.php at line 35

SwatFileNotFoundException

public SwatFileNotFoundException(string message, integer code, string filename)

Creates a new file not found exception

Parameters:
message - the message of the exception.
code - the code of the exception.
filename - the filename of the file that is not found.

Method Detail

/Swat/exceptions/SwatFileNotFoundException.php at line 49

getFilename

public string getFilename()

Gets the filename of that caused this exception to be thrown

Returns:
the filename that caused this exception to be thrown.

silverorange Code