Class InsufficentRightsException
- Namespace
- TimeCockpit.Data.DataModel
- Assembly
- TimeCockpit.Data.dll
Represents an error that is raised when a object does not validate o.k.
public class InsufficentRightsException : Exception, _Exception, ISerializable
- Inheritance
-
ObjectExceptionInsufficentRightsException
- Implements
-
_ExceptionISerializable
- Inherited Members
-
Exception.GetBaseException()Exception.ToString()Exception.GetType()Exception.MessageException.DataException.InnerExceptionException.TargetSiteException.StackTraceException.HelpLinkException.SourceException.HResultException.SerializeObjectStateObject.Equals(Object)Object.Equals(Object, Object)Object.ReferenceEquals(Object, Object)Object.GetHashCode()Object.MemberwiseClone()
Remarks
InsufficentRightsException throw, when a user tries to alter e.g. system tables
but the data context is not in system model
Constructors
InsufficentRightsException(SerializationInfo, StreamingContext)
Initializes a new instance of the InsufficentRightsException class
protected InsufficentRightsException(SerializationInfo info, StreamingContext context)
Parameters
infoSerializationInfoThe SerializationInfo that holds the serialized object data about the exception being thrown.
contextStreamingContextThe StreamingContext that contains contextual information about the source or destination.
InsufficentRightsException(String)
Initializes a new instance of the InsufficentRightsException class
public InsufficentRightsException(string message)
Parameters
messageStringA message that describes the error.
InsufficentRightsException(String, Exception)
Initializes a new instance of the InsufficentRightsException class
public InsufficentRightsException(string message, Exception innerException)
Parameters
messageStringA message that describes the error.
innerExceptionExceptionThe exception that is the cause of the current exception, or a null reference if no inner exception is specified.
Methods
GetObjectData(SerializationInfo, StreamingContext)
Sets the SerializationInfo with information about the exception.
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
infoSerializationInfoThe SerializationInfo that holds the serialized object data about the exception being thrown.
contextStreamingContextThe StreamingContext that contains contextual information about the source or destination.