Ignore:
Timestamp:
2016-03-26T20:42:27+01:00 (8 years ago)
Author:
Don-vip
Message:

add more unit tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/plugins/PluginListParseException.java

    r3083 r10050  
    22package org.openstreetmap.josm.plugins;
    33
     4/**
     5 * Exception thrown during plugin list parsing.
     6 * @since 2817
     7 */
    48public class PluginListParseException extends Exception {
    5     public PluginListParseException() {
    6         super();
     9
     10    /**
     11     * Constructs a new {@code PluginListParseException} with the specified detail message and cause.
     12     * @param message message the detail message (which is saved for later retrieval by the {@link #getMessage()} method).
     13     * @param cause cause the cause (which is saved for later retrieval by the {@link #getCause()} method).
     14     */
     15    public PluginListParseException(String message, Throwable cause) {
     16        super(message, cause);
    717    }
    818
    9     public PluginListParseException(String arg0, Throwable arg1) {
    10         super(arg0, arg1);
    11     }
    12 
    13     public PluginListParseException(String arg0) {
    14         super(arg0);
    15     }
    16 
    17     public PluginListParseException(Throwable arg0) {
    18         super(arg0);
     19    /**
     20     * Constructs a new {@code PluginListParseException} with the specified cause and a detail message of
     21     * <tt>(cause==null ? null : cause.toString())</tt> (which typically contains the class and detail message of <tt>cause</tt>).
     22     * @param cause cause the cause (which is saved for later retrieval by the {@link #getCause()} method).
     23     */
     24    public PluginListParseException(Throwable cause) {
     25        super(cause);
    1926    }
    2027}
Note: See TracChangeset for help on using the changeset viewer.