Ignore:
Timestamp:
2016-04-03T15:42:30+02:00 (8 years ago)
Author:
Don-vip
Message:

add more unit tests

Location:
trunk/src/org/openstreetmap/josm/gui/help
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/help/HelpContentReaderException.java

    r6987 r10103  
    55    private int responseCode;
    66
    7     public HelpContentReaderException(String message, Throwable cause) {
    8         super(message, cause);
    9     }
    10 
     7    /**
     8     * Constructs a new {@code HelpContentReaderException}.
     9     * @param message the detail message. The detail message is saved for later retrieval by the {@link #getMessage()} method.
     10     */
    1111    public HelpContentReaderException(String message) {
    1212        super(message);
    1313    }
    1414
     15    /**
     16     * Constructs a new {@code HelpContentReaderException}.
     17     * @param cause the cause (which is saved for later retrieval by the {@link #getCause()} method).
     18     *        (A <tt>null</tt> value is permitted, and indicates that the cause is nonexistent or unknown.)
     19     */
    1520    public HelpContentReaderException(Throwable cause) {
    1621        super(cause);
  • trunk/src/org/openstreetmap/josm/gui/help/MissingHelpContentException.java

    r6987 r10103  
    22package org.openstreetmap.josm.gui.help;
    33
     4/**
     5 * Exception thrown when help content is missing.
     6 * @since 2308
     7 */
    48public class MissingHelpContentException extends HelpContentReaderException {
    59
    6     public MissingHelpContentException(String message, Throwable cause) {
    7         super(message, cause);
    8     }
    9 
     10    /**
     11     * Constructs a new {@code MissingHelpContentException}.
     12     * @param message the detail message. The detail message is saved for later retrieval by the {@link #getMessage()} method.
     13     */
    1014    public MissingHelpContentException(String message) {
    1115        super(message);
    1216    }
    13 
    14     public MissingHelpContentException(Throwable cause) {
    15         super(cause);
    16     }
    1717}
Note: See TracChangeset for help on using the changeset viewer.