# sendClientOnStatusError from Thread

**URL:** <https://community.wowza.com/t/sendclientonstatuserror-from-thread/38900>\
**Category:** Wowza Developer Dojo\
**Tags:** wowza-streaming-server-java-api\
**Created:** [March 1, 2014, 6:36am UTC](https://community.wowza.com/t/sendclientonstatuserror-from-thread/38900 "2014-03-01T06:36:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Konrad\_Wagner](https://avatars.discourse-cdn.com/v4/letter/k/f08c70/32.png) [@Konrad\_Wagner](https://community.wowza.com/u/Konrad_Wagner)\
**Post date:** [March 1, 2014, 6:36am UTC](https://community.wowza.com/t/sendclientonstatuserror-from-thread/38900/1 "2014-03-01T06:36:52Z")

</div>

I’m using extends Thread not ModuleBase. How can I send an error message to FMLE for a mediastream?

---

<div class="post-metadata">

**Author:** ![Matt\_Young](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/matt_young/32/389_2.png) [@Matt\_Young](https://community.wowza.com/u/Matt_Young)\
**Post date:** [March 14, 2014, 9:54am UTC](https://community.wowza.com/t/sendclientonstatuserror-from-thread/38900/2 "2014-03-14T09:54:39Z")

</div>

You will need to extend ModuleBase to handle the appropriate event and obtain a reference to the client in order to respond with a message.
