Ticket #11005: clarified_a_comment_about_exceptions.patch

File clarified_a_comment_about_exceptions.patch, 2.5 KB (added by double-m, 7 years ago)
  • src/org/openstreetmap/josm/gui/PleaseWaitRunnable.java

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    4141     * Create the runnable object with a given message for the user.
    4242     *
    4343     * @param title message for the user
    44      * @param ignoreException If true, exception will be propagated to calling code. If false then
    45      * exception will be thrown directly in EDT. When this runnable is executed using executor framework
     44     * @param ignoreException If true, exception will be silently ignored. If false then
     45     * exception will be handled by showing a dialog. When this runnable is executed using executor framework
    4646     * then use false unless you read result of task (because exception will get lost if you don't)
    4747     */
    4848    public PleaseWaitRunnable(String title, boolean ignoreException) {
     
    5454     *
    5555     * @param parent the parent component for the please wait dialog. Must not be null.
    5656     * @param title message for the user
    57      * @param ignoreException If true, exception will be propagated to calling code. If false then
    58      * exception will be thrown directly in EDT. When this runnable is executed using executor framework
     57     * @param ignoreException If true, exception will be silently ignored. If false then
     58     * exception will be handled by showing a dialog. When this runnable is executed using executor framework
    5959     * then use false unless you read result of task (because exception will get lost if you don't)
    6060     * @throws IllegalArgumentException thrown if parent is null
    6161     */
     
    7171     *
    7272     * @param title message for the user
    7373     * @param progressMonitor progress monitor
    74      * @param ignoreException If true, exception will be propagated to calling code. If false then
    75      * exception will be thrown directly in EDT. When this runnable is executed using executor framework
     74     * @param ignoreException If true, exception will be silently ignored. If false then
     75     * exception will be handled by showing a dialog. When this runnable is executed using executor framework
    7676     * then use false unless you read result of task (because exception will get lost if you don't)
    7777     */
    7878    public PleaseWaitRunnable(String title, ProgressMonitor progressMonitor, boolean ignoreException) {