StorageServerError class | _main.t[889]

A StorageServerError is thrown when a file operation on a remote storage server fails. The storage server is used when the game runs on a Web game server in client/server mode. In Web mode, files are stored on a separate storage server rather than on the Web server itself, so that the files can be transparently accessed if the game is continued from another Web server. This exception is used when a request to the storage server fails, which could be due to an error on the storage server, a network error communicating between the game server and the storage server, or an invalid request (e.g., incorrect user credentials).

`class StorageServerError : RuntimeError`

Superclass Tree (in declaration order)

`StorageServerError`
`RuntimeError`
`Exception`
`object`

Subclass Tree

(none)

Global Objects

(none)

Summary of Properties

`errCode errMsg`

Inherited from `RuntimeError` :
`errno_ exceptionMessage stack_`

Inherited from `Exception` :
`errmsg_`

Summary of Methods

`construct displayException`

Inherited from `RuntimeError` :
`isDebuggerSignal newRuntimeError`

Inherited from `Exception` :
`getExceptionMessage showStackTrace`

Properties

`errCode` | `_main.t[938]`

the storage server error code

`errMsg` | `_main.t[946]`

error message - this is the message text we get back from the storage server for a request that's successful at the HTTP level but fails on the storage server, OR a message describing the HTTP error or network error that caused the request to fail

Methods

`construct (errno, msg)`OVERRIDDEN | `_main.t[890]`

no description available

`displayException ( )`OVERRIDDEN | `_main.t[949]`

display the exception

TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3