'############################################################################## ' Author: Kevin Koch ' Description: This class inherits from System.ApplicationException ' allowing us to throw customized exceptions that are ' localized to the web service layer. It is explicitly defined ' as serializable to allow it to cross network boundaries '############################################################################## <Serializable()> _ Public Class WSException Inherits System.ApplicationException Public Sub New(ByVal message As String) MyBase.New(message) End Sub Public Sub New(ByVal message As String, ByVal innerException As Exception) MyBase.New(message, innerException) End Sub End Class |