+2005-09-15 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
+ * mb-parser.jay : Error statement statemet support.
+
2005-08-23 Satya Sudha K <ksathyasudha@novell.com>
* statement.cs :
StatementSequence : Avoid Resolving multiple times
+2005-09-15 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
+ * Error.vb : Error statement runtime test.
2005-05-03 Ritvik Mayank <mritvik@novell.com>
Made correction in few test cases
--- /dev/null
+' Authors:
+' Alexandre Rocha Lima e Marcondes (alexandre@psl-pr.softwarelivre.org)
+' Maverson Eduardo Schulze Rosa (maverson@gmail.com)
+'
+' GrupoTIC - UFPR - Federal University of ParanĂ¡
+
+Imports System
+Imports Nunit.Framework
+
+<TestFixture> _
+Public Class errorstmt
+
+ <Test, ExpectedException (GetType (System.FormatException))> _
+ Public Sub TestErrorString()
+ error "aaa"
+ End Sub
+ <Test, ExpectedException (GetType (System.InvalidCastException))> _
+ Public Sub TestErrorObject()
+ error new Object()
+ End Sub
+End Class
+
+2005-09-15 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
+ * Error.vb : Error statement test.
+
2005-07-13 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
* LocalDeclarationB.vb : Static local on classes and modules test.
* LocalDeclarationC.vb : Inner block static local test.
--- /dev/null
+' Authors:
+' Alexandre Rocha Lima e Marcondes (alexandre@psl-pr.softwarelivre.org)
+' Maverson Eduardo Schulze Rosa (maverson@gmail.com)
+'
+' GrupoTIC - UFPR - Federal University of ParanĂ¡
+
+
+Module errorstmt
+
+ Public Dim error_number as integer = 11
+
+ Sub Main()
+ Try
+ error error_number
+
+ Catch ex As System.Exception
+ If not (ex.GetType() = GetType(System.DivideByZeroException)) Then
+ Throw new System.Exception("#A1 Error not working")
+ End If
+ End Try
+ End Sub
+End Module
+