Hello,

I have a problem in as much as my message that is being thrown from my class, to my webservice, to my application isn't showing in the friendly format - it is showing a large box with things like system.web.services.protocols.soapexception.......

It does contain the text of my error, but I need it to look nice to the users.

My code is as follows :

Class
Code:
Try
IF
   Do stuff...
Else
   Throw New System.Exception("An Employee with this Reference already exists!")
End If

Catch ex As Exception
   Throw ex
End Try
WebService
Code:
Try
   Call Class.....
Catch ex As Exception
   Throw ex
End Try
Application
Code:
Try
   Do Stuff......
Catch ex As Exception
   MessageBox.Show(ex.Message)
End Try
Can anyone help please ?