ScriptException

Overview

ScriptException is the class for EcmaScript exceptions.

Location


 

constructor    (declared in ServerException)

 

constructor

 

ScriptException()

 

Sub New()

constructor (String)

 

constructor(Message: String)

 

ScriptException(String Message)

 

Sub New(Message As String)

Parameters:

  • Message:

constructor (String, Boolean)

 

constructor(Message: String; FromServer: Boolean)

 

ScriptException(String Message, Boolean FromServer)

 

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)

 

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)

 

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:

constructor (SerializationInfo, StreamingContext)    (declared in ServerException)

 

constructor(info: SerializationInfo; context: StreamingContext)

 

ScriptException(SerializationInfo info, StreamingContext context)

 

Sub New(info As SerializationInfo, context As StreamingContext)

Parameters:

  • info:
  • context:

Column

Specifies column number where exception happened.

 

property Column: Int32 read write;

 

Int32 Column { get; set; }

 

Property Column() As Int32

Event

Specifies event

 

property Event: String read write;

 

String Event { 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; }

 

ReadOnly Property FromServer() As Boolean

GetAttributeCount    (declared in ServerException)

 

method GetAttributeCount: Int32

 

Int32 GetAttributeCount()

 

Function GetAttributeCount() As Int32

GetAttributeName    (declared in ServerException)

 

method GetAttributeName(index: Int32): String

 

String GetAttributeName(Int32 index)

 

Function GetAttributeName(index As Int32) As String

Parameters:

  • index:

GetAttributeValue    (declared in ServerException)

 

method GetAttributeValue(index: Int32): String

 

String GetAttributeValue(Int32 index)

 

Function GetAttributeValue(index As Int32) As String

Parameters:

  • index:

InnerStackTrace

Specifies inner stack trace.

 

property InnerStackTrace: String read write;

 

String InnerStackTrace { get; set; }

 

Property InnerStackTrace() As String

Line

Specifies line number where exception happened.

 

property Line: Int32 read write;

 

Int32 Line { get; set; }

 

Property Line() As Int32

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; }

 

Property ServerStackTrace() As String

Type

Specifies the type of the ScriptException

 

property Type: ScriptExceptionType read write;

 

ScriptExceptionType Type { get; set; }

 

Property Type() As ScriptExceptionType

 

Column

Specifies column number where exception happened.

 

property Column: Int32 read write;

 

Int32 Column { get; set; }

 

Property Column() As Int32

Event

Specifies event

 

property Event: String read write;

 

String Event { 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; }

 

ReadOnly Property FromServer() As Boolean

InnerStackTrace

Specifies inner stack trace.

 

property InnerStackTrace: String read write;

 

String InnerStackTrace { get; set; }

 

Property InnerStackTrace() As String

Line

Specifies line number where exception happened.

 

property Line: Int32 read write;

 

Int32 Line { get; set; }

 

Property Line() As Int32

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; }

 

Property ServerStackTrace() As String

Type

Specifies the type of the ScriptException

 

property Type: ScriptExceptionType read write;

 

ScriptExceptionType Type { get; set; }

 

Property Type() As ScriptExceptionType

 

constructor    (declared in ServerException)

 

constructor

 

ScriptException()

 

Sub New()

constructor (String)

 

constructor(Message: String)

 

ScriptException(String Message)

 

Sub New(Message As String)

Parameters:

  • Message:

constructor (String, Boolean)

 

constructor(Message: String; FromServer: Boolean)

 

ScriptException(String Message, Boolean FromServer)

 

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)

 

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)

 

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:

constructor (SerializationInfo, StreamingContext)    (declared in ServerException)

 

constructor(info: SerializationInfo; context: StreamingContext)

 

ScriptException(SerializationInfo info, StreamingContext context)

 

Sub New(info As SerializationInfo, context As StreamingContext)

Parameters:

  • info:
  • context:

GetAttributeCount    (declared in ServerException)

 

method GetAttributeCount: Int32

 

Int32 GetAttributeCount()

 

Function GetAttributeCount() As Int32

GetAttributeName    (declared in ServerException)

 

method GetAttributeName(index: Int32): String

 

String GetAttributeName(Int32 index)

 

Function GetAttributeName(index As Int32) As String

Parameters:

  • index:

GetAttributeValue    (declared in ServerException)

 

method GetAttributeValue(index: Int32): String

 

String GetAttributeValue(Int32 index)

 

Function GetAttributeValue(index As Int32) As String

Parameters:

  • index:

  • ScriptException Class: