public class UscSessionErrorEvent extends UscErrorEvent
| Constructor and Description |
|---|
UscSessionErrorEvent(String deviceId,
String type,
String sessionId,
int errorCode,
UscErrorLevel level,
String message)
create a channel error event
|
UscSessionErrorEvent(UscSession session,
UscSessionException ex)
create a session error event
|
| Modifier and Type | Method and Description |
|---|---|
String |
getSessionId()
get session id of the error
|
String |
toString() |
getErrorCode, getErrorId, getLevel, getMessagegetDeviceId, getTypepublic UscSessionErrorEvent(String deviceId, String type, String sessionId, int errorCode, UscErrorLevel level, String message)
type - channel typedeviceId - device id which can identify a particular channelsessionId - session id which can identify a session of a channelerrorCode - error codelevel - error levelmessage - error messagepublic UscSessionErrorEvent(UscSession session, UscSessionException ex)
session - the session which error happensex - the exception class of errorpublic String getSessionId()
public String toString()
toString in class UscErrorEventCopyright © 2019 OpenDaylight. All rights reserved.