try { throw new Exception(); } catch (Exception e) { Log.e ("DEBUGTAG", "Doslo je do greske", e); }