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

75 lines
2.0 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>
Merged from Rustici Trunk: ------------------------------------------------------------------------ r14544 | david.ells | 2010-12-12 00:14:41 +0100 (Sun, 12 Dec 2010) | 1 line Since java doesn't store better than milli seconds, drop extra fractions of a second from iso timestamps beyond millis ------------------------------------------------------------------------ r14536 | david.ells | 2010-12-10 01:00:29 +0100 (Fri, 10 Dec 2010) | 1 line Avoid NPE in XmlText when the value of the node is null ------------------------------------------------------------------------ r14527 | david.ells | 2010-12-08 18:21:43 +0100 (Wed, 08 Dec 2010) | 1 line Add Subtract method to DateTime in CS2J types ------------------------------------------------------------------------ r14524 | david.ells | 2010-12-08 16:22:42 +0100 (Wed, 08 Dec 2010) | 1 line Add count property ------------------------------------------------------------------------ r14411 | david.ells | 2010-11-18 05:29:46 +0100 (Thu, 18 Nov 2010) | 1 line Exclude PENS for non ssp builds, add CS2J rule for .NET exception InnerException member ------------------------------------------------------------------------ r14294 | troy.foster | 2010-11-02 19:23:18 +0100 (Tue, 02 Nov 2010) | 1 line change to handle XmlAttributeCollection appending ------------------------------------------------------------------------ r14074 | troy.foster | 2010-10-15 19:15:15 +0200 (Fri, 15 Oct 2010) | 1 line Added support for the ToUpperInvariant and ToLowerInvariant functions of both classes
2010-12-22 15:08:31 +01:00
<Property>
<Name>InnerException</Name>
<Type>System.Exception</Type>
<Get>((Exception)${this}.getCause())</Get>
</Property>
</Properties>
</Class>