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
- Reference: com.remobjects.sdk.jar
- Package: com.remobjects.sdk
- Ancestry: Exception | ExceptionType | ServerException | SessionNotFoundException
constructor
Creates Exception.
constructor
SessionNotFoundException()
constructor (String) (declared in ExceptionType)
Creates exception with given text.
constructor(aExceptionMessage: String)
SessionNotFoundException(String aExceptionMessage)
Parameters:
- aExceptionMessage: Given text.
constructor (String, Boolean) (declared in ExceptionType)
Creates exception with given text and server flag.
constructor(aExceptionMessage: String; aFromServer: Boolean)
SessionNotFoundException(String aExceptionMessage, Boolean aFromServer)
Parameters:
- aExceptionMessage: Given text.
- aFromServer: Given server flag.
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.
FromServer (declared in ExceptionType)
property FromServer: Boolean read write;
Boolean FromServer { __get; __set; }
Message (declared in ExceptionType)
property Message: String read write;
String Message { __get; __set; }
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.
ServerStackTrace (declared in ExceptionType)
property ServerStackTrace: String read write;
String ServerStackTrace { __get; __set; }
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.
FromServer (declared in ExceptionType)
property FromServer: Boolean read write;
Boolean FromServer { __get; __set; }
Message (declared in ExceptionType)
property Message: String read write;
String Message { __get; __set; }
ServerStackTrace (declared in ExceptionType)
property ServerStackTrace: String read write;
String ServerStackTrace { __get; __set; }
constructor
Creates Exception.
constructor
SessionNotFoundException()
constructor (String) (declared in ExceptionType)
Creates exception with given text.
constructor(aExceptionMessage: String)
SessionNotFoundException(String aExceptionMessage)
Parameters:
- aExceptionMessage: Given text.
constructor (String, Boolean) (declared in ExceptionType)
Creates exception with given text and server flag.
constructor(aExceptionMessage: String; aFromServer: Boolean)
SessionNotFoundException(String aExceptionMessage, Boolean aFromServer)
Parameters:
- aExceptionMessage: Given text.
- aFromServer: Given server flag.
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.
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.
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.