Package microsoft.jscript
Class JScriptException
- java.lang.Object
-
- java.lang.Throwable
-
- org.mases.jcobridge.netreflection.NetException
-
- system.ApplicationException
-
- microsoft.jscript.JScriptException
-
- All Implemented Interfaces:
java.io.Serializable
,IJCOBridgeReflected
public class JScriptException extends ApplicationException
The base .NET class managing Microsoft.JScript.JScriptException, Microsoft.JScript, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/Microsoft.JScript.JScriptException
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: Microsoft.JScript, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: Microsoft.JScriptstatic java.lang.String
className
Qualified class name: Microsoft.JScript.JScriptExceptionstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description JScriptException()
JScriptException(java.lang.Object instance)
Internal constructor.JScriptException(java.lang.String message)
JScriptException(java.lang.String message, NetException cause)
JScriptException(JSError errorNumber)
JScriptException(NetException cause)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JScriptException
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoJScriptException
, a cast assert is made to check if types are compatible.int
getColumn()
java.lang.String
getDescription()
int
getEndColumn()
int
getEndLine()
int
getErrorNumber()
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class Typeint
getLine()
java.lang.String
getLineText()
int
getNumber()
void
GetObjectData(SerializationInfo info, StreamingContext context)
int
getSeverity()
IJSVsaItem
getSourceItem()
java.lang.String
getSourceMoniker()
int
getStartColumn()
void
setJCOInstance(JCObject instance)
-
Methods inherited from class org.mases.jcobridge.netreflection.NetException
Equals, Equals, GetHashCode, getMessage, getStackTrace, GetType, hashCode, toString, ToString
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: Microsoft.JScript, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: Microsoft.JScript- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: Microsoft.JScript.JScriptException- See Also:
- Constant Field Values
-
-
Constructor Detail
-
JScriptException
public JScriptException()
-
JScriptException
public JScriptException(java.lang.Object instance)
Internal constructor. Use with caution
-
JScriptException
public JScriptException(java.lang.String message)
-
JScriptException
public JScriptException(NetException cause)
-
JScriptException
public JScriptException(java.lang.String message, NetException cause)
-
JScriptException
public JScriptException(JSError errorNumber) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classApplicationException
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classApplicationException
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classApplicationException
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classApplicationException
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classApplicationException
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classApplicationException
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static JScriptException cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoJScriptException
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
JScriptException
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
GetObjectData
public void GetObjectData(SerializationInfo info, StreamingContext context) throws java.lang.Throwable, ArgumentNullException, ArgumentException, SecurityException, TypeLoadException, NotSupportedException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, NotImplementedException, SerializationException, OverflowException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
SecurityException
TypeLoadException
NotSupportedException
InvalidOperationException
MissingMethodException
TargetInvocationException
CultureNotFoundException
ArgumentOutOfRangeException
OutOfMemoryException
FormatException
NotImplementedException
SerializationException
OverflowException
-
getColumn
public int getColumn() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getEndColumn
public int getEndColumn() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getEndLine
public int getEndLine() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getErrorNumber
public int getErrorNumber() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getLine
public int getLine() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getNumber
public int getNumber() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSeverity
public int getSeverity() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getStartColumn
public int getStartColumn() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSourceItem
public IJSVsaItem getSourceItem() throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, NotImplementedException, ArgumentOutOfRangeException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException, NoContextException
- Throws:
java.lang.Throwable
ArgumentNullException
TypeLoadException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
NotImplementedException
ArgumentOutOfRangeException
IndexOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
FormatException
NoContextException
-
getDescription
public java.lang.String getDescription() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException
-
getLineText
public java.lang.String getLineText() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSourceMoniker
public java.lang.String getSourceMoniker() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-