Back to project page meteoapp.
The source code is released under:
MIT License
If you think the Android project meteoapp listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package pl.sznapka.meteoapp; import android.app.AlertDialog; import android.content.Context; /*from ww w .ja v a2s . c o m*/ public class ExceptionHandler { Context context; Exception exception; public ExceptionHandler(Context context, java.lang.Exception exception) { this.context = context; this.exception = exception; } public void handle() { new AlertDialog.Builder(context) .setTitle("Wyst?pi? b??d") .setCancelable(true) .setIcon(android.R.drawable.ic_dialog_alert) .setMessage(exception.getMessage()) .setPositiveButton("OK", null) .create() .show(); } }