SaaS CMS has officially launched! Learn more now.

Class ObjectStoreException

Summary description for ObjectStoreException.

Inheritance
System.Object
System.Exception
ObjectStoreException
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception
Inherited Members
System.Exception.GetBaseException()
System.Exception.ToString()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.Message
System.Exception.Data
System.Exception.InnerException
System.Exception.TargetSite
System.Exception.StackTrace
System.Exception.HelpLink
System.Exception.Source
System.Exception.HResult
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
Namespace: EPiServer.BaseLibrary
Assembly: EPiServer.BaseLibrary.dll
Version: 8.11.0
Syntax
public class ObjectStoreException : BaseException, ISerializable, _Exception

Constructors

ObjectStoreException()

Declaration
public ObjectStoreException()

ObjectStoreException(SerializationInfo, StreamingContext)

Declaration
protected ObjectStoreException(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
System.Runtime.Serialization.SerializationInfo info
System.Runtime.Serialization.StreamingContext context

ObjectStoreException(String)

Declaration
public ObjectStoreException(string message)
Parameters
Type Name Description
System.String message

ObjectStoreException(String, Exception)

Declaration
public ObjectStoreException(string message, Exception innerException)
Parameters
Type Name Description
System.String message
System.Exception innerException

Fields

AlreadyFailed

Declaration
public const string AlreadyFailed = "This session object store has previously failed. Cannot continue."
Field Value
Type Description
System.String

CannotAddRelation

Declaration
public const string CannotAddRelation = "Failed to add relation from {0} to {1} in object store {2}."
Field Value
Type Description
System.String

DeleteFailure

Declaration
public const string DeleteFailure = "Failed on delete of {0} in object store {1}."
Field Value
Type Description
System.String

DeserializeError

Declaration
public const string DeserializeError = "Error on deserialize."
Field Value
Type Description
System.String

LoadFailure

Declaration
public const string LoadFailure = "Exception on Load of {0} in object store {1}."
Field Value
Type Description
System.String

NamedObjectError

Declaration
public const string NamedObjectError = "Failed to load named object {0}."
Field Value
Type Description
System.String

NoItem

Declaration
public const string NoItem = "Failed on load of {0}. Item does not exist in {1}."
Field Value
Type Description
System.String

OpenConnectionError

Declaration
public const string OpenConnectionError = "Error opening connection."
Field Value
Type Description
System.String

PathSyntaxError

Declaration
public const string PathSyntaxError = "The path syntax for {0} is invalid."
Field Value
Type Description
System.String

Methods

Create(String, Exception, Object[])

Declaration
public static ObjectStoreException Create(string message, Exception ex, params object[] arguments)
Parameters
Type Name Description
System.String message
System.Exception ex
System.Object[] arguments
Returns
Type Description
ObjectStoreException

Create(String, Object[])

Declaration
public static ObjectStoreException Create(string message, params object[] arguments)
Parameters
Type Name Description
System.String message
System.Object[] arguments
Returns
Type Description
ObjectStoreException

Implements

System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception

Extension Methods