This shows you the differences between the selected revision and the current version of the page.
| android:myproject | android:myproject 2009/10/22 07:47 current | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | <html> | ||
| + | public class MyProject { | ||
| + | String message(String received, int value) throws Exception { | ||
| + | String format = "Here we go: %s (%d)"; | ||
| + | if (value == 27) | ||
| + | throw new Exception("value is 27"); | ||
| + | return String.format(format, received, value); | ||
| + | } | ||
| + | } | ||
| + | </html> | ||