logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class PersistenceStoreException

    Thrown by a persistence-store backend (e.g. an HTTP-backed or relational structured 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
    Exception
    PersistenceStoreException
    Implements
    ISerializable
    _Exception
    Inherited Members
    Exception.GetBaseException()
    Exception.ToString()
    Exception.GetObjectData(SerializationInfo, StreamingContext)
    Exception.GetType()
    Exception.Message
    Exception.Data
    Exception.InnerException
    Exception.TargetSite
    Exception.StackTrace
    Exception.HelpLink
    Exception.Source
    Exception.HResult
    Exception.SerializeObjectState
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.MemberwiseClone()
    Namespace: Serenity.Persistence.Domain.Exceptions
    Assembly: Serenity.Global.Domain.dll
    Syntax
    public class PersistenceStoreException : Exception, ISerializable, _Exception
    Remarks

    Lives in the Persistence domain (rather than any single feature's Application layer) so every feature built on IStructuredStore can catch a single, backend-agnostic base type. Feature-specific exceptions (e.g. a leaderboard's store exception) derive from this type instead of duplicating it.

    Constructors

    PersistenceStoreException(string)

    Creates a new PersistenceStoreException with the specified message.

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

    A message describing the failed call.

    PersistenceStoreException(string, Exception)

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

    Declaration
    public PersistenceStoreException(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.

    Implements

    ISerializable
    _Exception
    In this article
    © 2026 Serenity. All Rights Reserved