This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 47908
Collapse All | Expand All

(-)URLEditor.java (-3 / +3 lines)
Lines 7-13 Link Here
7
 * http://www.sun.com/
7
 * http://www.sun.com/
8
 * 
8
 * 
9
 * The Original Code is NetBeans. The Initial Developer of the Original
9
 * The Original Code is NetBeans. The Initial Developer of the Original
10
 * Code is Sun Microsystems, Inc. Portions Copyright 1997-2000 Sun
10
 * Code is Sun Microsystems, Inc. Portions Copyright 1997-2004 Sun
11
 * Microsystems, Inc. All Rights Reserved.
11
 * Microsystems, Inc. All Rights Reserved.
12
 */
12
 */
13
13
Lines 41-48 Link Here
41
            String msg = MessageFormat.format(
41
            String msg = MessageFormat.format(
42
                NbBundle.getMessage(
42
                NbBundle.getMessage(
43
                    URLEditor.class, "FMT_EXC_BAD_URL"), new Object[] {s}); //NOI18N
43
                    URLEditor.class, "FMT_EXC_BAD_URL"), new Object[] {s}); //NOI18N
44
            ErrorManager.getDefault().annotate(e, ErrorManager.USER, e.getMessage(), 
44
             ErrorManager.getDefault().annotate(iae, ErrorManager.USER, e.getMessage(), 
45
             msg, iae, new java.util.Date());
45
             msg, e, new java.util.Date());
46
            throw iae;
46
            throw iae;
47
        }
47
        }
48
    }
48
    }

Return to bug 47908