Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Last active September 9, 2019 21:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/2a0c71d6487bed1ac8b9585948e9347b to your computer and use it in GitHub Desktop.
Save parzibyte/2a0c71d6487bed1ac8b9585948e9347b to your computer and use it in GitHub Desktop.
try {
//Aquí algo que pueda provocar una excepción
} catch (Exception e) {
Log.d("EXCEPCIÓN",
"Se encontró una excepción. Aquí el stacktrace:\n"
+ Log.getStackTraceString(e)
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment