Class Index | File Index

Classes


Class ErrorExt

ErrorExt
Defined in: Hermes.js.

Class Summary
Constructor Attributes Constructor Name and Description
<private>  
ErrorExt(oLevel, sCategory, sMessage, sFilenameUrl, nLineNumber, sDateFormat)
ErrorExt is the class that represents the Error
Field Summary
Field Attributes Field Name and Description
 
dInitialize sets the instanciation date
 
nFileNumber is the number of line where the error is launched
 
oDateFormatter is the instance of DateFormatter after set the default format
 
oLevel is the Error Level to know if it can be logged or not.
 
sCategory is the error category
 
sFilenameUrl is the url or filename to the file where the error is launched
 
sMessage is the error message
Method Summary
Method Attributes Method Name and Description
 
getFormattedDate returns the error Date afte format it
 
setCategory(sCategory)
setCategory change the sCategory
 
setDateFormat(sDateFormat)
setDateFormat change the sDateFormat
 
setFilenameUrl(sFilenameUrl)
setFilenameUrl change the sFilenameUrl
 
setLevel(oLevel)
setLevel change the level if oLevel is instance of Level
 
setLineNumber(nLineNumber)
setLineNumber change the nLineNumber
 
setMessage(sMessage)
setMessage change the sMessage
Class Detail
<private> ErrorExt(oLevel, sCategory, sMessage, sFilenameUrl, nLineNumber, sDateFormat)
ErrorExt is the class that represents the Error
Parameters:
oLevel
sCategory
sMessage
sFilenameUrl
nLineNumber
sDateFormat
Field Detail
dInitialize
dInitialize sets the instanciation date

nLineNumber
nFileNumber is the number of line where the error is launched

oDateFormatter
oDateFormatter is the instance of DateFormatter after set the default format

oLevel
oLevel is the Error Level to know if it can be logged or not.

sCategory
sCategory is the error category

sFilenameUrl
sFilenameUrl is the url or filename to the file where the error is launched

sMessage
sMessage is the error message
Method Detail
{String} getFormattedDate()
getFormattedDate returns the error Date afte format it
Returns:
{String}

setCategory(sCategory)
setCategory change the sCategory
Parameters:
sCategory
Returns:
ErrorExt instance

setDateFormat(sDateFormat)
setDateFormat change the sDateFormat
Parameters:
sDateFormat
Returns:
ErrorExt instance

setFilenameUrl(sFilenameUrl)
setFilenameUrl change the sFilenameUrl
Parameters:
sFilenameUrl
Returns:
ErrorExt instance

setLevel(oLevel)
setLevel change the level if oLevel is instance of Level
Parameters:
oLevel
Returns:
ErrorExt instance

setLineNumber(nLineNumber)
setLineNumber change the nLineNumber
Parameters:
nLineNumber
Returns:
ErrorExt instance

setMessage(sMessage)
setMessage change the sMessage
Parameters:
sMessage
Returns:
ErrorExt instance

©2011
Documentation generated by JsDoc Toolkit 2.4.0 on Sat Oct 08 2011 19:55:27 GMT+0200 (CEST)