sfException is the base class for all symfony related exceptions and
Inheritence
sfFactoryException, sfFileException, sfRenderException, sfAutoloadException, sfSecurityException, sfStorageException, sfInitializationException, sfParseException, sfError404Exception, sfFilterException, sfForwardException, sfCacheException, sfViewException, sfStopException, sfContextException, sfActionException, sfConfigurationException, sfDatabaseException, sfControllerException, sfValidatorException <
sfException
Method Summary
-
string
escape($value)
Escapes a string value with html entities
-
string
fileExcerpt(, )
Returns an excerpt of a code file around the given line number.
-
string
formatArgs(, , )
Formats an array as a string.
-
string
formatArrayAsHtml()
Returns an HTML version of an array as YAML.
-
string
getName()
Retrieves the name of this exception.
-
array
getTraces(, )
Returns an array of exception traces.
-
printStackTrace()
Prints the stack trace for this exception.
-
setName()
Sets the name of this exception.
-
__construct(, )
Class constructor.
Method Details
-
(string) escape ($value)
Browse code
Escapes a string value with html entities
-
(string) fileExcerpt (, )
Browse code
Returns an excerpt of a code file around the given line number.
returns An HTML string
-
(string) formatArgs (, , )
Browse code
Formats an array as a string.
-
(string) formatArrayAsHtml ()
Browse code
Returns an HTML version of an array as YAML.
returns An HTML string
-
Retrieves the name of this exception.
returns This exception's name
-
(array) getTraces (, )
Browse code
Returns an array of exception traces.
returns An array of traces
-
Prints the stack trace for this exception.
-
Sets the name of this exception.
-
Class constructor.
|