Package system.xaml
Class XamlException
- java.lang.Object
-
- java.lang.Throwable
-
- org.mases.jcobridge.netreflection.NetException
-
- system.xaml.XamlException
-
- All Implemented Interfaces:
java.io.Serializable,IJCOBridgeReflected
- Direct Known Subclasses:
XamlDuplicateMemberException,XamlInternalException,XamlObjectReaderException,XamlObjectWriterException,XamlParseException,XamlSchemaException,XamlXmlWriterException
public class XamlException extends NetException
The base .NET class managing System.Xaml.XamlException, System.Xaml, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Xaml.XamlException
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: System.Xaml, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: System.Xamlstatic java.lang.StringclassNameQualified class name: System.Xaml.XamlExceptionstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description XamlException()XamlException(java.lang.Object instance)Internal constructor.XamlException(java.lang.String message)XamlException(java.lang.String message, NetException cause)XamlException(java.lang.String message, NetException innerException, int lineNumber, int linePosition)XamlException(NetException cause)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static XamlExceptioncast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoXamlException, a cast assert is made to check if types are compatible.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 TypeintgetLineNumber()intgetLinePosition()voidGetObjectData(SerializationInfo info, StreamingContext context)voidsetJCOInstance(JCObject instance)voidsetLineNumber(int LineNumber)voidsetLinePosition(int LinePosition)-
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: System.Xaml, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Xaml- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Xaml.XamlException- See Also:
- Constant Field Values
-
-
Constructor Detail
-
XamlException
public XamlException()
-
XamlException
public XamlException(java.lang.Object instance)
Internal constructor. Use with caution
-
XamlException
public XamlException(java.lang.String message)
-
XamlException
public XamlException(NetException cause)
-
XamlException
public XamlException(java.lang.String message, NetException cause)
-
XamlException
public XamlException(java.lang.String message, NetException innerException, int lineNumber, int linePosition) 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 classNetException- 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 classNetException- 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 classNetException- 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 classNetException- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classNetException
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classNetException- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static XamlException cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoXamlException, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
XamlExceptioninstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
GetObjectData
public void GetObjectData(SerializationInfo info, StreamingContext context) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, SerializationException, FormatException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionSerializationExceptionFormatException
-
getLineNumber
public int getLineNumber() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setLineNumber
public void setLineNumber(int LineNumber) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getLinePosition
public int getLinePosition() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setLinePosition
public void setLinePosition(int LinePosition) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
-