SessionNotFoundException

Overview

SessionNotFoundException a special exception class is used to indicate when a remote call failed because no session was found - typically meaning that user login is required.

Location

Instance Methods


constructor

Creates Exception.

 

constructor

 

SessionNotFoundException()

constructor (String)

Creates Exception with given text.

 

constructor(aMessage: String)

 

SessionNotFoundException(String aMessage)

Parameters:

  • aMessage: Given text error.

constructor (String, Boolean)

Creates Exception instance with given text and server flag.

 

constructor(aMessage: String; aFlag: Boolean)

 

SessionNotFoundException(String aMessage, Boolean aFlag)

Parameters:

  • aMessage: Given text error.
  • aFlag: Given boolean flag.

getFromServer    (declared in ExceptionType)

Returns boolean value of FromServer property.

 

method getFromServer: Boolean

 

Boolean getFromServer()

getMessage    (declared in ExceptionType)

Return message text string.

 

method getMessage: String

 

String getMessage()

getServerStackTrace    (declared in ExceptionType)

Returns server stack trace string.

 

method getServerStackTrace: String

 

String getServerStackTrace()

readFromMessage    (declared in ExceptionType)

For internal use, used by the RO/J framework to stream the exception to a message packet.

 

method readFromMessage(aName: String; aMessage: Message)

 

void readFromMessage(String aName, Message aMessage)

Parameters:

  • aName: Given name.
  • aMessage: Given message.

setFromServer    (declared in ExceptionType)

Sets boolean value for FromServer property.

 

method setFromServer(value: Boolean)

 

void setFromServer(Boolean value)

Parameters:

  • value: Given value.

setMessage    (declared in ExceptionType)

Sets message text.

 

method setMessage(value: String)

 

void setMessage(String value)

Parameters:

  • value: Given text string.

setServerStackTrace    (declared in ExceptionType)

Sets server stack trace string.

 

method setServerStackTrace(value: String)

 

void setServerStackTrace(String value)

Parameters:

  • value: Given string.

toString    (declared in ExceptionType)

Overrided method to output message and stacktrace.

 

method toString: String

 

String toString()

writeToMessage    (declared in ExceptionType)

For internal use, used by the RO/J framework to stream the exception to a message packet.

 

method writeToMessage(aName: String; aMessage: Message)

 

void writeToMessage(String aName, Message aMessage)

Parameters:

  • aName: Given name.
  • aMessage: Given message.