Public Shared Function GetMessage(ByVal tdDate As Date, ByVal tnForum As Integer) As String If Not DoCommonProcess() Then Throw New System.Exception("My message here") End If Return "" End Function Public Shared Function GetCategory(ByVal tdDate As Date, ByVal tnForum As Integer) As String If Not DoCommonProcess() Then Throw New System.Exception("My message here") End If Return "" End FunctionSo, I don't want to repeat the same code for all the methods that need it. That is why I am looking at how I can have GetMessage() and GetCategory() to inherits of that Common.DoCommonProcess() method so I don't have to write the same code over and over again.