Class Index | File Index

Classes


Class Event.ExceptionEvent

Represents an event with an exception information as its payload
Defined in: <D:\Programs\Neeve\Projects\NeeveBuild16\stjsapi/src/main/webapp/js\event\ExceptionEvent.js>.

Class Summary
Constructor Attributes Constructor Name and Description
 
Event.ExceptionEvent(eventId, errorCode, errorMessage, severity)
Creates a new exception event
Method Summary
Method Attributes Method Name and Description
number 
Gets the error code of the exception
String 
Gets the message of the exception
String 
Gets the severity of the exception
void 
setErrorCode(errorCode)
Sets the error code of the exception
void 
setErrorMessage(message)
Sets the message of the exception
void 
setSeverity(severity)
Sets the severity of the exception.
Class Detail
Event.ExceptionEvent(eventId, errorCode, errorMessage, severity)
Creates a new exception event
Parameters:
{String} eventId
The id of the exception event to be created
errorCode
errorMessage
severity
Method Detail
{number} getErrorCode()
Gets the error code of the exception
Returns:
The exception error code

{String} getErrorMessage()
Gets the message of the exception
Returns:
The exception message

{String} getSeverity()
Gets the severity of the exception
Returns:
The exception severity

setErrorCode(errorCode)
Sets the error code of the exception
Parameters:
{number} errorCode
The exception error code to be set

setErrorMessage(message)
Sets the message of the exception
Parameters:
{String} message
The exception message to be set

setSeverity(severity)
Sets the severity of the exception.
Possible values:
Parameters:
{String} severity
The severity to be set

Copyright © 2015-2021 StreamScape Technologies. All rights reserved.