Hoping my interpretation is relevant, I am not sure whether android programming supports creating custom exceptions and using the following or whether this would be against the code styleguides and why do you think so.
"System.out.println() (or printf() for native code) should never be used. System.out and System.err get redirected to /dev/null, so your print statements will have no visible effects. However, all the string building that happens for these calls still gets executed." https://source.android.com/source/code-style.html