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.

Bug 270733 - Constructors for user defined Exception are not shown in a CC list
Summary: Constructors for user defined Exception are not shown in a CC list
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: junichi11
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-25 03:20 UTC by junichi11
Modified: 2017-06-19 06:04 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (29.52 KB, image/png)
2017-05-25 03:22 UTC, junichi11
Details

Note You need to log in before you can comment on or make changes to this bug.
Description junichi11 2017-05-25 03:20:17 UTC
Only constructors for "\Exception" are shown.

Reproducible code:

<?php

class SomeException extends \Exception
{
}

try {
    if ($error) {
        throw new SomeException; // here
    }
} catch (Exception $exc) {
    echo $exc->getTraceAsString();
}
Comment 1 junichi11 2017-05-25 03:22:27 UTC
Created attachment 164401 [details]
screenshot
Comment 2 junichi11 2017-06-14 10:20:08 UTC
Fixed.

http://hg.netbeans.org/web-main/rev/f0cd4dc1b0d0

Thanks.
Comment 3 Quality Engineering 2017-06-15 01:53:30 UTC
Integrated into 'main-silver', will be available in build *201706150001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/f0cd4dc1b0d0
User: Junichi Yamamoto <junichi11@netbeans.org>
Log: #270733 - Constructors for user defined Exception are not shown in a CC list
Comment 4 Tomas Mysik 2017-06-19 06:04:55 UTC
Great job, Junichi! Thanks!