Class ScriptingException
Represents an error that is raised in scripts like actions.
Implements
Inherited Members
Namespace: TimeCockpit.Data.DataModel
Assembly: TimeCockpit.Data.dll
Syntax
public class ScriptingException : ValidationException, _Exception, ISerializable
Constructors
ScriptingException(SerializationInfo, StreamingContext)
Initializes a new instance of the ScriptingException class
Declaration
protected ScriptingException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The SerializationInfo that holds the serialized object data about the exception being thrown. |
System.Runtime.Serialization.StreamingContext | context | The StreamingContext that contains contextual information about the source or destination. |
ScriptingException(String)
Initializes a new instance of the ScriptingException class
Declaration
public ScriptingException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | A message that describes the error. |
ScriptingException(String, Exception)
Initializes a new instance of the ScriptingException class
Declaration
public ScriptingException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | A message that describes the error. |
System.Exception | innerException | The 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
Declaration
public ScriptingException(string title, string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | title | The title for the exception. |
System.String | message | A message that describes the error. |
ScriptingException(String, String, Exception)
Initializes a new instance of the ScriptingException class
Declaration
public ScriptingException(string title, string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | title | The title for the exception. |
System.String | message | A message that describes the error. |
System.Exception | innerException | The 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.
Declaration
public string Title { get; }
Property Value
Type | Description |
---|---|
System.String |