Exception
└─SwatException
└─SwatFileNotFoundException
public class SwatFileNotFoundException
extends SwatException
| Field Summary | |
|---|---|
| protected string | 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 | 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 | |
protected string $filename = ''
The filename that caused this exception to be thrown.
public SwatFileNotFoundException(string message, integer code, string filename)
Creates a new file not found exception
message - the message of the exception.code - the code of the exception.filename - the filename of the file that is not found.public string getFilename()
Gets the filename of that caused this exception to be thrown
Thrown when a file is not found