Exception
└─SwatException
└─SwatInvalidSwatMLException
public class SwatInvalidSwatMLException
extends SwatException
| Field Summary | |
|---|---|
| protected string | 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 | 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 | |
protected string $filename = ''
The filename of the SwatML file that caused this exception to be thrown.
public SwatInvalidSwatMLException(string message, integer code, string filename)
Creates a new invalid SwatML exception
message - the message of the exception.code - the code of the exception.filename - the filename of the SwatML file that is invalid.public string getFilename()
Gets the filename of the SwatML file that caused this exception to be thrown
An exception in Swat
Exceptions in Swat have handy methods for outputting nicely formed error messages.