setException
Set an Exception to indicate an Exception that should be raised occurred that should be communicated to whoever is acquiring this semaphore.
Set an Exception to indicate an Exception that should be raised occurred that should be communicated to whoever is acquiring this semaphore.