Mega Code Archive

 
Categories / VB.Net Tutorial / Development
 

Throw ApplicationException

Module Module1     Sub Main()         Try             Throw New ApplicationException("You threw this custom exception.")         Catch e As Exception             Console.WriteLine(e.Message)         Finally             Console.WriteLine("Finally...")         End Try     End Sub End Module You threw this custom exception. Finally...