Class ObjectNotSavedException
Thrown when an object should be saved before performing a specific operation.
Inherited Members
Namespace: SdlSdl.LanguagePlatformTranslationMemoryApi
Assembly: Sdl.LanguagePlatform.TranslationMemoryApi.dll
Syntax
public class ObjectNotSavedException : InvalidOperationException, ISerializable, _Exception
Constructors
ObjectNotSavedException()
Default constructor.
Declaration
public ObjectNotSavedException()
ObjectNotSavedException(SerializationInfo, StreamingContext)
Constructor for serialization.
Declaration
protected ObjectNotSavedException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | |
StreamingContext | context |
ObjectNotSavedException(string)
Constructor with error message.
Declaration
public ObjectNotSavedException(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message | The error message. |
ObjectNotSavedException(string, Exception)
Constructor with error message and inner exception.
Declaration
public ObjectNotSavedException(string message, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
string | message | The error message. |
Exception | inner | Inner exception. |