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 47903
Collapse All | Expand All

(-)PointCustomEditor.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 100-106 Link Here
100
            if ((x < 0) || (y < 0)) {
100
            if ((x < 0) || (y < 0)) {
101
                IllegalStateException ise = new IllegalStateException();
101
                IllegalStateException ise = new IllegalStateException();
102
                ErrorManager.getDefault().annotate(
102
                ErrorManager.getDefault().annotate(
103
                    ise, ErrorManager.ERROR, null, 
103
                    ise, ErrorManager.USER, null, 
104
                    bundle.getString("CTL_NegativeSize"), null, null);
104
                    bundle.getString("CTL_NegativeSize"), null, null);
105
                throw ise;
105
                throw ise;
106
            }
106
            }
Lines 111-117 Link Here
111
        } catch (NumberFormatException e) {
111
        } catch (NumberFormatException e) {
112
            IllegalStateException ise = new IllegalStateException();
112
            IllegalStateException ise = new IllegalStateException();
113
            ErrorManager.getDefault().annotate(
113
            ErrorManager.getDefault().annotate(
114
                ise, ErrorManager.ERROR, null, 
114
                ise, ErrorManager.USER, null, 
115
                bundle.getString("CTL_InvalidValue"), null, null);
115
                bundle.getString("CTL_InvalidValue"), null, null);
116
            throw ise;
116
            throw ise;
117
        }
117
        }

Return to bug 47903