Can anyone tell me how I could get this working please??? I'm trying to create my own exception type which can be used in plase of the .Net framework one:
Code:
Public Class Form1 ...

    Private Sub Command1_Click(ByVal sender As System.Object, _
    ByVal e As System.EventArgs) Handles cmdGenExcep_DivideBy0.Click
        Try
            throw new System.OverflowException 
        Catch Ex as Class1
            messagebox.Show(ex.message)
        End Try
    End Sub

End Class


Public Class Class1
    Inherits Exception

    Public sub new(ByRef strExcepMessage As String)
        mybase.New(strExcepMessage) 
    End Sub
End Class