Namespace System
Namespace Threading

Class AbandonedMutexException
	Inherits System.SystemException
Public'constructor
	Sub AbandonedMutexException()
		SystemException("", Nothing)
	End Sub
	Sub AbandonedMutexException(message As String)
		SystemException(message, Nothing)
	End Sub
	Sub AbandonedMutexException(message As String, innerException As Exception)
		SystemException(message, innerException)
	End Sub

End Class

Class SemaphoreFullException
	Inherits System.SystemException
Public'constructor
	Sub SemaphoreFullException()
		SystemException("Too many semaphore countors.", Nothing)
		This.HResult = ERROR_TOO_MANY_SEMAPHORES
	End Sub
	Sub SemaphoreFullException(message As String)
		SystemException(message, Nothing)
		This.HResult = ERROR_TOO_MANY_SEMAPHORES
	End Sub
	Sub SemaphoreFullException(message As String, innerException As Exception)
		SystemException(message, innerException)
		This.HResult = ERROR_TOO_MANY_SEMAPHORES
	End Sub
End Class

Class SynchronizationLockException
	Inherits System.SystemException
Public'constructor
	Sub SynchronizationLockException()
		SystemException("", Nothing)
	End Sub
	Sub SynchronizationLockException(message As String)
		SystemException(message, Nothing)
	End Sub
	Sub SynchronizationLockException(message As String, innerException As Exception)
		SystemException(message, innerException)
	End Sub
End Class

Class ThreadAbortException
	Inherits System.SystemException
Public'constructor
	Sub ThreadAbortException()
		SystemException("The thread was discontinued.", Nothing)
	End Sub
	Sub ThreadAbortException(message As String)
		SystemException(message, Nothing)
	End Sub
	Sub ThreadAbortException(message As String, innerException As Exception)
		SystemException(message, innerException)
	End Sub
End Class

Class ThreadInterruptedException
	Inherits System.SystemException
Public'constructor
	Sub ThreadInterruptedException()
		SystemException("The thread was Interrupted.", Nothing)
	End Sub
	Sub ThreadInterruptedException(message As String)
		SystemException(message, Nothing)
	End Sub
	Sub ThreadInterruptedException(message As String, innerException As Exception)
		SystemException(message, innerException)
	End Sub
End Class

Class ThreadStartException
	Inherits System.SystemException
Public'constructor
	Sub ThreadStartException()
		SystemException("The thread cannot be begun.", Nothing)
	End Sub
	Sub ThreadStartException(message As String)
		SystemException(message, Nothing)
	End Sub
	Sub ThreadStartException(message As String, innerException As Exception)
		SystemException(message, innerException)
	End Sub
End Class

Class WaitHandleCannotBeOpenedException
	Inherits System.SystemException
Public'constructor
	Sub WaitHandleCannotBeOpenedException()
		SystemException("The wait handle can not be opened.", Nothing)
	End Sub
	Sub WaitHandleCannotBeOpenedException(message As String)
		SystemException(message, Nothing)
	End Sub
	Sub WaitHandleCannotBeOpenedException(message As String, innerException As Exception)
		SystemException(message, innerException)
	End Sub
End Class

End Namespace
End Namespace
