# How can i capture connection time out error for particular process

**URL:** <https://community.dynatrace.com/t/how-can-i-capture-connection-time-out-error-for-particular-process/31146>\
**Category:** Open Q&A\
**Tags:** java\
**Created:** [April 15, 2021, 10:04am UTC](https://community.dynatrace.com/t/how-can-i-capture-connection-time-out-error-for-particular-process/31146 "2021-04-15T10:04:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mayana\_Khan](https://avatars.discourse-cdn.com/v4/letter/m/c4cdca/32.png) [@Mayana\_Khan](https://community.dynatrace.com/u/Mayana_Khan)\
**Post date:** [April 15, 2021, 10:04am UTC](https://community.dynatrace.com/t/how-can-i-capture-connection-time-out-error-for-particular-process/31146/1 "2021-04-15T10:04:10Z")

</div>

Hi,

I want to capture the “connection time out” exception of particular java process in our environment.

can you please suggest how can i configure this exception to be captured for that process.

---

<div class="post-metadata">

**Author:** ![Yosi\_Neuman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/yosi_neuman/32/9845_2.png) [@Yosi\_Neuman](https://community.dynatrace.com/u/Yosi_Neuman)\
**Post date:** [April 15, 2021, 10:23am UTC](https://community.dynatrace.com/t/how-can-i-capture-connection-time-out-error-for-particular-process/31146/2 "2021-04-15T10:23:26Z")

</div>

Hi&nbsp;[@Mayana\_Khan](https://community.dynatrace.com/user/40830)

You can isolate the desired exception with MDA and then crate metric on it.

 ![Yosi_Neuman_0-1618482102254.png](https://global.discourse-cdn.com/dynatrace/original/3X/0/0/004a5ad53d3896a2fbbf56cb8fd1dceccaf43ed9.png)

HTH

Yos

---

<div class="post-metadata">

**Author:** ![pahofmann](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pahofmann/32/17076_2.png) [@pahofmann](https://community.dynatrace.com/u/pahofmann)\
**Post date:** [April 15, 2021, 10:49am UTC](https://community.dynatrace.com/t/how-can-i-capture-connection-time-out-error-for-particular-process/31146/3 "2021-04-15T10:49:00Z")

</div>

Dynatrace automatically captures exceptions that cause the abort of a service call.

You can find them via&nbsp; **Diagnostic Tools → Exception analysis**

 ![pahofmann_0-1618483473483.png](https://global.discourse-cdn.com/dynatrace/original/3X/2/2/22019f49726da72bb080dc9fff458c6c88750c2c.png)

If you want it for a specific service filter by&nbsp; **Process Group Name** &nbsp;or&nbsp; **Service Name**

 ![pahofmann_1-1618483532127.png](https://global.discourse-cdn.com/dynatrace/original/2X/1/15b0005232401c751cf4b1d5594c75af2db2d1c2.png)

**If the exceptions isn’t captured yet,** &nbsp;e.g. because it’s caught and a error delivered to the client you can still tell dynatrace to show the exception and mark the request as failed.

Find the service and go to&nbsp; **Settings → Error Detection** and add it under&nbsp; **Custom Handeled Exceptions**

 ![pahofmann_2-1618483711617.png](https://global.discourse-cdn.com/dynatrace/original/3X/4/b/4b190b063b883deb8f02e4fe267a75a048e11ab9.png)
