ScriptException

Overview

ScriptException is the class for EcmaScript exceptions.

Location


 

constructor    (declared in ServerException)

Creates a new instance

 

constructor

 

ScriptException()

 

init()

 

Sub New()

constructor (String)

 

constructor(aMessage: String)

 

ScriptException(String aMessage)

 

init(_ aMessage: String)

 

Sub New(aMessage As String)

Parameters:

  • aMessage:

constructor (String, Boolean)

 

constructor(aMessage: String; aFromServer: Boolean)

 

ScriptException(String aMessage, Boolean aFromServer)

 

init(_ aMessage: String, _ aFromServer: Boolean)

 

Sub New(aMessage As String, aFromServer As Boolean)

Parameters:

  • aMessage:
  • aFromServer:

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

 

constructor(aMessage: String; aLine: Int32; aColumn: Int32; aEvent: String; aInnerStackTrace: String; aType: ScriptExceptionType)

 

ScriptException(String aMessage, Int32 aLine, Int32 aColumn, String aEvent, String aInnerStackTrace, ScriptExceptionType aType)

 

init(_ aMessage: String, _ aLine: Int32, _ aColumn: Int32, _ aEvent: String, _ aInnerStackTrace: String, _ aType: ScriptExceptionType)

 

Sub New(aMessage As String, aLine As Int32, aColumn As Int32, aEvent As String, aInnerStackTrace As String, aType As ScriptExceptionType)

Parameters:

  • aMessage:
  • aLine:
  • aColumn:
  • aEvent:
  • aInnerStackTrace:
  • aType:

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

Creates a new instance

 

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)    (declared in ServerException)

Creates a new instance with the provided exception message.

 

constructor(message: String)

 

ScriptException(String message)

 

init(_ message: String)

 

Sub New(message As String)

Parameters:

  • message:

constructor (String, Boolean)    (declared in ServerException)

Creates a new instance with the provided exception message and a boolean value that equals true if the exception was received from the server and was re-thrown on the client tier, or false if the exception was thrown on the same tier as the code processing it.

 

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)

Creates a new instance with the provided exception message and inner exception.

 

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:

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

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)

Creates a new instance

 

constructor

 

ScriptException()

 

init()

 

Sub New()

constructor (String)

 

constructor(aMessage: String)

 

ScriptException(String aMessage)

 

init(_ aMessage: String)

 

Sub New(aMessage As String)

Parameters:

  • aMessage:

constructor (String, Boolean)

 

constructor(aMessage: String; aFromServer: Boolean)

 

ScriptException(String aMessage, Boolean aFromServer)

 

init(_ aMessage: String, _ aFromServer: Boolean)

 

Sub New(aMessage As String, aFromServer As Boolean)

Parameters:

  • aMessage:
  • aFromServer:

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

 

constructor(aMessage: String; aLine: Int32; aColumn: Int32; aEvent: String; aInnerStackTrace: String; aType: ScriptExceptionType)

 

ScriptException(String aMessage, Int32 aLine, Int32 aColumn, String aEvent, String aInnerStackTrace, ScriptExceptionType aType)

 

init(_ aMessage: String, _ aLine: Int32, _ aColumn: Int32, _ aEvent: String, _ aInnerStackTrace: String, _ aType: ScriptExceptionType)

 

Sub New(aMessage As String, aLine As Int32, aColumn As Int32, aEvent As String, aInnerStackTrace As String, aType As ScriptExceptionType)

Parameters:

  • aMessage:
  • aLine:
  • aColumn:
  • aEvent:
  • aInnerStackTrace:
  • aType:

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

Creates a new instance

 

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)    (declared in ServerException)

Creates a new instance with the provided exception message.

 

constructor(message: String)

 

ScriptException(String message)

 

init(_ message: String)

 

Sub New(message As String)

Parameters:

  • message:

constructor (String, Boolean)    (declared in ServerException)

Creates a new instance with the provided exception message and a boolean value that equals true if the exception was received from the server and was re-thrown on the client tier, or false if the exception was thrown on the same tier as the code processing it.

 

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)

Creates a new instance with the provided exception message and inner exception.

 

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:

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:

 

  • ScriptException Class: