Class ScriptingException
- Namespace
- TimeCockpit.Data.DataModel
- Assembly
- TimeCockpit.Data.dll
Represents an error that is raised in scripts like actions.
public class ScriptingException : ValidationException, _Exception, ISerializable
- Inheritance
-
ObjectExceptionScriptingException
- 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()
Constructors
ScriptingException(SerializationInfo, StreamingContext)
Initializes a new instance of the ScriptingException class
protected ScriptingException(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.
ScriptingException(String)
Initializes a new instance of the ScriptingException class
public ScriptingException(string message)
Parameters
messageStringA message that describes the error.
ScriptingException(String, Exception)
Initializes a new instance of the ScriptingException class
public ScriptingException(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.
ScriptingException(String, String)
Initializes a new instance of the ScriptingException class
public ScriptingException(string title, string message)
Parameters
titleStringThe title for the exception.
messageStringA message that describes the error.
ScriptingException(String, String, Exception)
Initializes a new instance of the ScriptingException class
public ScriptingException(string title, string message, Exception innerException)
Parameters
titleStringThe title for the exception.
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.
Properties
Title
Gets the title for the exception.
public string Title { get; }
Property Value
- String