[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wsf-c-dev
Subject:    [wsf-c-dev] [jira] Created: (WSFPHP-407) WSFault::getMessage()
From:       "alexey baranov (JIRA)" <jira () wso2 ! org>
Date:       2009-08-25 7:09:00
Message-ID: 1967667584.44401251184140818.JavaMail.jira () wso2 ! org ! ec2 ! wso2 ! com
[Download RAW message or body]

WSFault::getMessage() should return WSFault::Reason
---------------------------------------------------

                 Key: WSFPHP-407
                 URL: https://wso2.org/jira/browse/WSFPHP-407
             Project: WSO2 WSF/PHP
          Issue Type: Improvement
          Components: WSFault
    Affects Versions: 2.0.0
            Reporter: alexey baranov


regular use of try-catch construction is

try (
)
catch (Exception $ e) (
/ / use of $ e-> getMessage()
)

with WSFault method getMessage() always returns an empty string, and accounted for in \
all places, which used the WSO to use the expanded structure to achieve the same \
result

try (
)
catch (WSFault $ e) (
/ / use of $ e-> __toString()
)
catch (Exception $ e) (
/ / repeat the previous code block, using $ e-> getMessage()
)

this is very inconvenient. could you sell in the following releases \
WSFault::getMessage() as function getMessage(){
return $this->Reason;
}
thanks

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: \
                https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

_______________________________________________
Wsf-c-dev mailing list
Wsf-c-dev@wso2.org
https://wso2.org/cgi-bin/mailman/listinfo/wsf-c-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic