SMS sending

This commit is contained in:
Jakob Aarøe Dam 2015-04-30 14:31:18 +02:00
parent 5b7c38ee96
commit f886f3af72
9 changed files with 91 additions and 34 deletions

View file

@ -0,0 +1,9 @@
Public Class MissingEmail
Inherits Exception
Public Sub New(ByVal user As String)
MyBase.New("User: " & user & " has no email")
End Sub
End Class

View file

@ -0,0 +1,9 @@
Public Class MissingLdapField
Inherits Exception
Public Sub New(field As String, username As String)
MyBase.New("No " & field & " entry in LDAP for " & username)
End Sub
End Class

View file

@ -0,0 +1,9 @@
Public Class MissingNumber
Inherits Exception
Public Sub New(ByVal user As String)
MyBase.New("User: " & user & " has no mobile number")
End Sub
End Class

View file

@ -0,0 +1,9 @@
Public Class SMSSendException
Inherits Exception
Public Sub New(ByVal message As String)
MyBase.New("SMS send error: " & message)
End Sub
End Class