Class PersistenceException
Represents a general failure of the persistence infrastructure.
Inherited Members
System.Exception.GetBaseException()
System.Exception.ToString()
System.Exception.GetType()
System.Exception.Message
System.Exception.Data
System.Exception.TargetSite
System.Exception.StackTrace
System.Exception.Source
System.Exception.SerializeObjectState
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
Namespace: IRM.Domain.Persistance
Assembly: IRM.dll
Syntax
[Serializable]
public class PersistenceException : Exception, ISerializable, _Exception
Constructors
PersistenceException()
Initializes a new instance of the PersistenceException class.
Declaration
public PersistenceException()
PersistenceException(SerializationInfo, StreamingContext)
Initializes a new instance of the PersistenceException class.
Declaration
protected PersistenceException(SerializationInfo info, StreamingContext context)
Parameters
SerializationInfo
info
The SerializationInfo that holds the serialized object data of the exception being thrown. |
StreamingContext
context
The StreamingContext that contains contextual information about the source or destination. |
PersistenceException(String)
Initializes a new instance of the PersistenceException class.
Declaration
public PersistenceException(string message)
Parameters
String
message
The message that describes the error. |
PersistenceException(String, Exception)
Initializes a new instance of the PersistenceException class.
Declaration
public PersistenceException(string message, Exception innerException)
Parameters
String
message
The message that describes the error. |
Exception
innerException
The message that is the cause of the current exception. |