2010-05-29 09:20:16 -05:00
|
|
|
<?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>
|
2010-12-22 15:08:31 +01:00
|
|
|
<Property>
|
|
|
|
<Name>InnerException</Name>
|
|
|
|
<Type>System.Exception</Type>
|
|
|
|
<Get>((Exception)${this}.getCause())</Get>
|
|
|
|
</Property>
|
2010-05-29 09:20:16 -05:00
|
|
|
</Properties>
|
|
|
|
</Class>
|