Migliorata gestione eccezioni
This commit is contained in:
parent
ad06e269e8
commit
a336fa68eb
@ -72,7 +72,7 @@ public class ClassRouter {
|
||||
return (T)clazz.newInstance();
|
||||
|
||||
} catch (InstantiationException | MethodPathNotRegisteredException | IllegalAccessException ex) {
|
||||
UtilityExceptions.defaultException(null, ex, true);
|
||||
// UtilityExceptions.defaultException(null, ex, true);
|
||||
}
|
||||
|
||||
return null;
|
||||
|
||||
@ -38,7 +38,7 @@ public class UtilityLogger {
|
||||
}
|
||||
|
||||
public static void errorMe(Exception ex, String additionalText, Runnable onComplete, RunnableArgs<Exception> onFailed) {
|
||||
if(!(ex instanceof SocketTimeoutException)) {
|
||||
if(!(ex instanceof SocketTimeoutException) && !(ex.getCause() instanceof SocketTimeoutException)) {
|
||||
|
||||
String message = UtilityResources.readRawTextFile(R.raw.error_mail);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user