ScriptException

Overview

ScriptException is the class for EcmaScript exceptions.

Location


 

constructor    (declared in ServerException)

 

constructor

 

ScriptException()

 

init()

 

Sub New()

constructor (SerializationInfo, StreamingContext)    (declared in ServerException) .NET Framework

 

constructor(info: SerializationInfo; context: StreamingContext)

 

ScriptException(SerializationInfo info, StreamingContext context)

 

init(_ info: SerializationInfo, _ context: StreamingContext)

 

Sub New(info As SerializationInfo, context As StreamingContext)

Parameters:

  • info:
  • context:

constructor (String)

 

constructor(Message: String)

 

ScriptException(String Message)

 

init(_ Message: String)

 

Sub New(Message As String)

Parameters:

  • Message:

constructor (String, Boolean)

 

constructor(Message: String; FromServer: Boolean)

 

ScriptException(String Message, Boolean FromServer)

 

init(_ Message: String, _ FromServer: Boolean)

 

Sub New(Message As String, FromServer As Boolean)

Parameters:

  • Message:
  • FromServer:

constructor (String, Exception)    (declared in ServerException)

 

constructor(message: String; innerException: Exception)

 

ScriptException(String message, Exception innerException)

 

init(_ message: String, _ innerException: Exception)

 

Sub New(message As String, innerException As Exception)

Parameters:

  • message:
  • innerException:

constructor (String, Int32, Int32, String, String, ScriptExceptionType)

 

constructor(Message: String; Line: Int32; Column: Int32; Event: String; InnerStackTrace: String; Type: ScriptExceptionType)

 

ScriptException(String Message, Int32 Line, Int32 Column, String Event, String InnerStackTrace, ScriptExceptionType Type)

 

init(_ Message: String, _ Line: Int32, _ Column: Int32, _ Event: String, _ InnerStackTrace: String, _ Type: ScriptExceptionType)

 

Sub New(Message As String, Line As Int32, Column As Int32, Event As String, InnerStackTrace As String, Type As ScriptExceptionType)

Parameters:

  • Message:
  • Line:
  • Column:
  • Event:
  • InnerStackTrace:
  • Type:

Column

Specifies column number where exception happened.

 

property Column: Int32 read write;

 

Int32 Column { get; set; }

 

var Column: Int32 { get{} set{} }

 

Property Column() As Int32

Event

Specifies event

 

property Event: String read write;

 

String Event { get; set; }

 

var Event: String { get{} set{} }

 

Property Event() As String

FromServer    (declared in ServerException)

This property is set to true if the exception was received from the server and was re-thrown on the client tier. It's false if the exception was thrown on the same tier as the code processing it.

 

property FromServer: Boolean read;

 

Boolean FromServer { get; }

 

var FromServer: Boolean { get{} }

 

ReadOnly Property FromServer() As Boolean

GetAttributeCount    (declared in ServerException)

 

method GetAttributeCount: Int32

 

Int32 GetAttributeCount()

 

func GetAttributeCount() -> Int32

 

Function GetAttributeCount() As Int32

GetAttributeName    (declared in ServerException)

 

method GetAttributeName(index: Int32): String

 

String GetAttributeName(Int32 index)

 

func GetAttributeName(_ index: Int32) -> String

 

Function GetAttributeName(index As Int32) As String

Parameters:

  • index:

GetAttributeValue    (declared in ServerException)

 

method GetAttributeValue(index: Int32): String

 

String GetAttributeValue(Int32 index)

 

func GetAttributeValue(_ index: Int32) -> String

 

Function GetAttributeValue(index As Int32) As String

Parameters:

  • index:

InnerStackTrace

Specifies inner stack trace.

 

property InnerStackTrace: String read write;

 

String InnerStackTrace { get; set; }

 

var InnerStackTrace: String { get{} set{} }

 

Property InnerStackTrace() As String

Line

Specifies line number where exception happened.

 

property Line: Int32 read write;

 

Int32 Line { get; set; }

 

var Line: Int32 { get{} set{} }

 

Property Line() As Int32

OriginalExceptionClassName    (declared in ServerException)

 

property OriginalExceptionClassName: String read write;

 

String OriginalExceptionClassName { get; set; }

 

var OriginalExceptionClassName: String { get{} set{} }

 

Property OriginalExceptionClassName() As String

ServerStackTrace    (declared in ServerException)

The stack trace of the exception location obtained from the server, if available.

 

property ServerStackTrace: String read write;

 

String ServerStackTrace { get; set; }

 

var ServerStackTrace: String { get{} set{} }

 

Property ServerStackTrace() As String

ToString    (declared in ServerException) .NET Core, .NET Framework, .NET Standard

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

Function ToString() As String

Type

Specifies the type of the ScriptException

 

property Type: ScriptExceptionType read write;

 

ScriptExceptionType Type { get; set; }

 

var Type: ScriptExceptionType { get{} set{} }

 

Property Type() As ScriptExceptionType

 

Column

Specifies column number where exception happened.

 

property Column: Int32 read write;

 

Int32 Column { get; set; }

 

var Column: Int32 { get{} set{} }

 

Property Column() As Int32

Event

Specifies event

 

property Event: String read write;

 

String Event { get; set; }

 

var Event: String { get{} set{} }

 

Property Event() As String

FromServer    (declared in ServerException)

This property is set to true if the exception was received from the server and was re-thrown on the client tier. It's false if the exception was thrown on the same tier as the code processing it.

 

property FromServer: Boolean read;

 

Boolean FromServer { get; }

 

var FromServer: Boolean { get{} }

 

ReadOnly Property FromServer() As Boolean

InnerStackTrace

Specifies inner stack trace.

 

property InnerStackTrace: String read write;

 

String InnerStackTrace { get; set; }

 

var InnerStackTrace: String { get{} set{} }

 

Property InnerStackTrace() As String

Line

Specifies line number where exception happened.

 

property Line: Int32 read write;

 

Int32 Line { get; set; }

 

var Line: Int32 { get{} set{} }

 

Property Line() As Int32

OriginalExceptionClassName    (declared in ServerException)

 

property OriginalExceptionClassName: String read write;

 

String OriginalExceptionClassName { get; set; }

 

var OriginalExceptionClassName: String { get{} set{} }

 

Property OriginalExceptionClassName() As String

ServerStackTrace    (declared in ServerException)

The stack trace of the exception location obtained from the server, if available.

 

property ServerStackTrace: String read write;

 

String ServerStackTrace { get; set; }

 

var ServerStackTrace: String { get{} set{} }

 

Property ServerStackTrace() As String

Type

Specifies the type of the ScriptException

 

property Type: ScriptExceptionType read write;

 

ScriptExceptionType Type { get; set; }

 

var Type: ScriptExceptionType { get{} set{} }

 

Property Type() As ScriptExceptionType

 

constructor    (declared in ServerException)

 

constructor

 

ScriptException()

 

init()

 

Sub New()

constructor (SerializationInfo, StreamingContext)    (declared in ServerException) .NET Framework

 

constructor(info: SerializationInfo; context: StreamingContext)

 

ScriptException(SerializationInfo info, StreamingContext context)

 

init(_ info: SerializationInfo, _ context: StreamingContext)

 

Sub New(info As SerializationInfo, context As StreamingContext)

Parameters:

  • info:
  • context:

constructor (String)

 

constructor(Message: String)

 

ScriptException(String Message)

 

init(_ Message: String)

 

Sub New(Message As String)

Parameters:

  • Message:

constructor (String, Boolean)

 

constructor(Message: String; FromServer: Boolean)

 

ScriptException(String Message, Boolean FromServer)

 

init(_ Message: String, _ FromServer: Boolean)

 

Sub New(Message As String, FromServer As Boolean)

Parameters:

  • Message:
  • FromServer:

constructor (String, Exception)    (declared in ServerException)

 

constructor(message: String; innerException: Exception)

 

ScriptException(String message, Exception innerException)

 

init(_ message: String, _ innerException: Exception)

 

Sub New(message As String, innerException As Exception)

Parameters:

  • message:
  • innerException:

constructor (String, Int32, Int32, String, String, ScriptExceptionType)

 

constructor(Message: String; Line: Int32; Column: Int32; Event: String; InnerStackTrace: String; Type: ScriptExceptionType)

 

ScriptException(String Message, Int32 Line, Int32 Column, String Event, String InnerStackTrace, ScriptExceptionType Type)

 

init(_ Message: String, _ Line: Int32, _ Column: Int32, _ Event: String, _ InnerStackTrace: String, _ Type: ScriptExceptionType)

 

Sub New(Message As String, Line As Int32, Column As Int32, Event As String, InnerStackTrace As String, Type As ScriptExceptionType)

Parameters:

  • Message:
  • Line:
  • Column:
  • Event:
  • InnerStackTrace:
  • Type:

GetAttributeCount    (declared in ServerException)

 

method GetAttributeCount: Int32

 

Int32 GetAttributeCount()

 

func GetAttributeCount() -> Int32

 

Function GetAttributeCount() As Int32

GetAttributeName    (declared in ServerException)

 

method GetAttributeName(index: Int32): String

 

String GetAttributeName(Int32 index)

 

func GetAttributeName(_ index: Int32) -> String

 

Function GetAttributeName(index As Int32) As String

Parameters:

  • index:

GetAttributeValue    (declared in ServerException)

 

method GetAttributeValue(index: Int32): String

 

String GetAttributeValue(Int32 index)

 

func GetAttributeValue(_ index: Int32) -> String

 

Function GetAttributeValue(index As Int32) As String

Parameters:

  • index:

ToString    (declared in ServerException) .NET Core, .NET Framework, .NET Standard

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

Function ToString() As String

 

  • ScriptException Class: