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.StringassemblyFullNameFully assembly qualified name: Microsoft.JScript, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: Microsoft.JScriptstatic java.lang.StringclassNameQualified class name: Microsoft.JScript.JScriptExceptionstatic JCTypeclassTypeThe 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 JScriptExceptioncast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoJScriptException, a cast assert is made to check if types are compatible.intgetColumn()java.lang.StringgetDescription()intgetEndColumn()intgetEndLine()intgetErrorNumber()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class TypeintgetLine()java.lang.StringgetLineText()intgetNumber()voidGetObjectData(SerializationInfo info, StreamingContext context)intgetSeverity()IJSVsaItemgetSourceItem()java.lang.StringgetSourceMoniker()intgetStartColumn()voidsetJCOInstance(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:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classApplicationException- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classApplicationException- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classApplicationException- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classApplicationException- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classApplicationException
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classApplicationException- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static JScriptException cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoJScriptException, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
JScriptExceptioninstance- 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.ThrowableArgumentNullExceptionArgumentExceptionSecurityExceptionTypeLoadExceptionNotSupportedExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionNotImplementedExceptionSerializationExceptionOverflowException
-
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.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionNotImplementedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionNoContextException
-
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
-
-