Search Results for

    Show / Hide Table of Contents

    Class ScriptingException

    Represents an error that is raised in scripts like actions.

    Inheritance
    System.Object
    System.Exception
    ValidationException
    ScriptingException
    Implements
    System.Runtime.InteropServices._Exception
    System.Runtime.Serialization.ISerializable
    Inherited Members
    ValidationException.GetObjectData(SerializationInfo, StreamingContext)
    System.Exception.GetBaseException()
    System.Exception.ToString()
    System.Exception.GetType()
    System.Exception.Message
    System.Exception.Data
    System.Exception.InnerException
    System.Exception.TargetSite
    System.Exception.StackTrace
    System.Exception.HelpLink
    System.Exception.Source
    System.Exception.HResult
    System.Exception.SerializeObjectState
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.MemberwiseClone()
    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
    In This Article
    Back to top Copyright © 2020 software architects gmbh