Changeset 6987 in josm for trunk/src/org/openstreetmap/josm/gui/help
- Timestamp:
- 2014-04-16T02:29:53+02:00 (10 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui/help
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/help/HelpContentReader.java
r6920 r6987 43 43 public String fetchHelpTopicContent(String helpTopicUrl, boolean dotest) throws HelpContentReaderException { 44 44 if(helpTopicUrl == null) 45 throw new MissingHelpContentException( );45 throw new MissingHelpContentException(helpTopicUrl); 46 46 HttpURLConnection con = null; 47 47 BufferedReader in = null; … … 90 90 } 91 91 if(dotest && s.isEmpty()) 92 throw new MissingHelpContentException( );92 throw new MissingHelpContentException(s); 93 93 return s; 94 94 } -
trunk/src/org/openstreetmap/josm/gui/help/HelpContentReaderException.java
r3408 r6987 4 4 public class HelpContentReaderException extends Exception { 5 5 private int responseCode; 6 7 public HelpContentReaderException() {8 super();9 }10 6 11 7 public HelpContentReaderException(String message, Throwable cause) { … … 39 35 this.responseCode = responseCode; 40 36 } 41 42 37 } -
trunk/src/org/openstreetmap/josm/gui/help/MissingHelpContentException.java
r3408 r6987 3 3 4 4 public class MissingHelpContentException extends HelpContentReaderException { 5 6 public MissingHelpContentException() {7 super();8 }9 5 10 6 public MissingHelpContentException(String message, Throwable cause) {
Note:
See TracChangeset
for help on using the changeset viewer.