During my implantation I need to throw several exceptions from a class, and handle them outside. Inside the class I made, I also implemented AsyncTask private class, and from this class , as well, I need to throw the exceptions. I realized that I cannot throw any exception from AsyncTask class, but only to handle it. This is not what I need.
Is there some kind of solution, so I'll be able to throw any exception I want from inside the AsyncTask?