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

(-)src/org/netbeans/mdr/handlers/BaseObjectHandler.java (-1 / +6 lines)
Lines 279-285 Link Here
279
    public String toString() {
279
    public String toString() {
280
        String className = getClass().getName();
280
        String className = getClass().getName();
281
        className = className.substring( className.lastIndexOf( "." ) + 1 );
281
        className = className.substring( className.lastIndexOf( "." ) + 1 );
282
        String mofId = _getDelegate().getMofId();
282
        String mofId;
283
        try {
284
            mofId = _getDelegate().getMofId();
285
        } catch (Exception e) {
286
            mofId = "(null)";
287
        }
283
        String metaId;
288
        String metaId;
284
        try {
289
        try {
285
            metaId = _getDelegate().getMetaObject().getMofId();
290
            metaId = _getDelegate().getMetaObject().getMofId();

Return to bug 21741