This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| private TextView tvVersion; | |
| tvVersion = (TextView) root.findViewById(R.id.about_txt_version); | |
| tvVersion.setText(VERSION + getApplicationVersion(getActivity().getApplicationContext())); | |
| public static String getApplicationVersion(Context context) { | |
| String appVersion = ""; | |
| try { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class TestClass { | |
| try { | |
| throw new InvalidApplicationException("Some Text"); | |
| } catch (InvalidApplicationException e) { | |
| e.printStackTrace(); | |
| } | |
| // Exception Creation | |
| public class InvalidApplicationException extends Exception { | |
| public InvalidApplicationException(String message) { |