silverorange Code


Swat.SwatInvalidSwatMLException
/Swat/exceptions/SwatInvalidSwatMLException.php at line 17

Class SwatInvalidSwatMLException

Exception
└─SwatException
└─SwatInvalidSwatMLException

public class SwatInvalidSwatMLException
extends SwatException

An exception in Swat

Exceptions in Swat have handy methods for outputting nicely formed error messages.

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

Field Summary
protected string

$filename

The filename of the SwatML file that caused this exception to be thrown.

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

SwatInvalidSwatMLException(string message, integer code, string filename)

Creates a new invalid SwatML exception.

Method Summary
string

getFilename()

Gets the filename of the SwatML file 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/SwatInvalidSwatMLException.php at line 26

filename

protected string $filename = ''

The filename of the SwatML file that caused this exception to be thrown.


Constructor Detail

/Swat/exceptions/SwatInvalidSwatMLException.php at line 38

SwatInvalidSwatMLException

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

Creates a new invalid SwatML exception

Parameters:
message - the message of the exception.
code - the code of the exception.
filename - the filename of the SwatML file that is invalid.

Method Detail

/Swat/exceptions/SwatInvalidSwatMLException.php at line 54

getFilename

public string getFilename()

Gets the filename of the SwatML file that caused this exception to be thrown

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

silverorange Code