'
' Author:
' Roopa Wilson (rowilson@novell.com)
-
' Copyright (C) 2004 Novell, Inc (http://www.novell.com)
'
' Permission is hereby granted, free of charge, to any person obtaining
' OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
' WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
'
-
-Imports Microsoft.VisualBasic \r
-Imports System\r
-Public Class TestClass \r
- Public Function Test() As String\r
- 'Begin Code\r
- 'new_dir containing files\r
- Try\r
- Rmdir ("new_dir1") \r
- Catch e As Exception\r
- Return e.GetType ().ToString ()\r
- End Try\r
- Throw New Exception ("Expected IOException but got no exception")\r
- 'End Code\r
- End Function\r
-End Class\r
+Imports Microsoft.VisualBasic
+Imports System
+Public Class TestClass
+ Public Function Test() As String
+ 'Begin Code
+ 'new_dir containing files
+ Try
+ Rmdir ("new_dir1")
+ Catch e As Exception
+ Return e.GetType ().ToString ()
+ End Try
+ Throw New Exception ("Expected IOException but got no exception")
+ 'End Code
+ End Function
+End Class