PrintStackTrace() in Exception Handling
===

What does this method do? I found an Android code on internet about exception handling in which the guy used this function in catch{}. He didn't explain properly why this function/method is used. 