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.
import android.app.AlertDialog; import android.content.Context; //from w w w .j a v a 2 s.c o m public class ExceptionHandler { Context context; Exception exception; public ExceptionHandler(Context context, 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(); } }