Class StorageException
Implements a custom storage exception to throw on critical errors and handled exceptions.
Inheritance
System.Object
System.Exception
StorageException
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Exception.GetBaseException()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.ToString()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Message
System.Exception.Source
System.Exception.StackTrace
System.Exception.TargetSite
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Talegen.Storage.Net.Core
Assembly: Talegen.Storage.Net.Core.dll
Syntax
public class StorageException : Exception, ISerializable
Constructors
| Improve this Doc View SourceStorageException()
Initializes a new instance of the StorageException class.
Declaration
public StorageException()
StorageException(String)
Initializes a new instance of the StorageException class.
Declaration
public StorageException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message that describes the error. |
StorageException(String, Exception)
Initializes a new instance of the StorageException class.
Declaration
public StorageException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The error message that explains the reason for the exception. |
System.Exception | innerException | The exception that is the cause of the current exception, or a null reference ( langword_csharp_Nothing in Visual Basic) if no inner exception is specified. |
Implements
System.Runtime.Serialization.ISerializable
See Also
System.Exception