ServerException

Overview

ServerException is a base class for all exception like SessionNotFoundException.

Location

 

constructor (String)    (declared in ExceptionType)

Creates exception with given text.

 

constructor(aExceptionMessage: String)

 

ServerException(String aExceptionMessage)

Parameters:

  • aExceptionMessage: Given text.

constructor (String, Boolean)

Creates Exception.

 

constructor(aMessage: String; aFlag: Boolean)

 

ServerException(String aMessage, Boolean aFlag)

Parameters:

  • aMessage: Given message.
  • aFlag: Given server 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 (String)    (declared in ExceptionType)

Creates exception with given text.

 

constructor(aExceptionMessage: String)

 

ServerException(String aExceptionMessage)

Parameters:

  • aExceptionMessage: Given text.

constructor (String, Boolean)

Creates Exception.

 

constructor(aMessage: String; aFlag: Boolean)

 

ServerException(String aMessage, Boolean aFlag)

Parameters:

  • aMessage: Given message.
  • aFlag: Given server 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.

Descendants

See Also