logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class GameSaveStoreException

    Thrown by a remote IGameSaveStore backend (e.g. an HTTP-backed store) when a call to the backing service fails: a non-success response, a transport-level failure that survived every retry, or a request timeout.

    Inheritance
    object
    GameSaveStoreException
    Namespace: Serenity.GameSave.Application.Exceptions
    Assembly: Serenity.GameSave.Application.dll
    Syntax
    public class GameSaveStoreException : PersistenceStoreException
    Remarks

    This exception belongs to the Application layer (rather than to a specific Infrastructure backend) so callers can catch a single, backend-agnostic type regardless of which remote IGameSaveStore implementation is installed. Derives from PersistenceStoreException so callers that only know about the generic structured-persistence contract can still catch game-save-specific failures. Local, on-device backends never throw this — see the local structured store's never-throw reliability contract.

    Constructors

    GameSaveStoreException(string)

    Creates a new GameSaveStoreException with the specified message.

    Declaration
    public GameSaveStoreException(string message)
    Parameters
    Type Name Description
    string message

    A message describing the failed call.

    GameSaveStoreException(string, Exception)

    Creates a new GameSaveStoreException with the specified message and inner exception.

    Declaration
    public GameSaveStoreException(string message, Exception innerException)
    Parameters
    Type Name Description
    string message

    A message describing the failed call.

    Exception innerException

    The underlying exception, when the failure originated from one.

    In this article
    © 2026 Serenity. All Rights Reserved