1
0
mirror of https://github.com/twiglet/cs2j.git synced 2025-01-18 13:15:17 +01:00

70 lines
1.9 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="file://C:/Documents%20and%20Settings/kevin.glynn/My%20Documents/CS2JLibrary/Translation.xsd"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Name>System.Exception</Name>
<Java>Exception</Java>
<Inherits>
<Type>System.Object</Type>
</Inherits>
<Constructors>
<Constructor>
<Java>new Exception()</Java>
</Constructor>
<Constructor>
<Params>
<Param>
<Type>System.String</Type>
<Name>message</Name>
</Param>
</Params>
<Java>new Exception(${message})</Java>
</Constructor>
<Constructor>
<Params>
<Param>
<Type>System.SerializationInfo</Type>
<Name>info</Name>
</Param>
<Param>
<Type>System.StreamingContext</Type>
<Name>ctxt</Name>
</Param>
</Params>
</Constructor>
<Constructor>
<Params>
<Param>
<Type>System.String</Type>
<Name>message</Name>
</Param>
<Param>
<Type>System.Exception</Type>
<Name>inner</Name>
</Param>
</Params>
<Java>new Exception(${message}, ${inner})</Java>
</Constructor>
</Constructors>
<Properties>
<Property>
<Name>Message</Name>
<Type>System.String</Type>
<Get>${this}.getMessage()</Get>
</Property>
<Property>
<Name>Source</Name>
<Type>System.String</Type>
<Imports>
<Import>RusticiSoftware.System.ExceptionSupport</Import>
</Imports>
<Get>ExceptionSupport.getSource(${this})</Get>
</Property>
<Property>
<Name>StackTrace</Name>
<Type>System.String</Type>
<Get>${this}.getStackTrace().toString()</Get>
</Property>
</Properties>
</Class>