[
https://issues.apache.org/jira/browse/CXF-8634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17465849#comment-17465849
]
Andriy Redko commented on CXF-8634:
-----------------------------------
Hey [~glascaleia] , could you please provide a reproducer for this issue? I am
not able to replicate the problem, thank you.
> Problem with update to cxf 3.5.0
> --------------------------------
>
> Key: CXF-8634
> URL: https://issues.apache.org/jira/browse/CXF-8634
> Project: CXF
> Issue Type: Bug
> Reporter: Giuseppe La Scaleia
> Priority: Major
>
> After update to 3.5.0 i have a little problem with my soap service.
> i have this class to manage my exception
> @WebFault(name = "IllegalParameterFault", faultBean =
> "org.geosdi.exception.IllegalParameterFault")
> public class IllegalParameterFault extends GPExceptionFault {
> private static final long serialVersionUID = 114329811800551827L;
> public IllegalParameterFault() {
> }
> /**
> * @param message
> */
> public IllegalParameterFault(String message) {
> super(message);
> }
> /**
> * @param message
> * @param cause
> */
> public IllegalParameterFault(String message, Throwable cause) {
> super(message, cause);
> }
> @Override
> public GPExceptionFaultType getExceptionType() {
> return GPExceptionFaultType.IllegalParameterFault;
> }
> The Exception was returned correctly but the getMessage() method return null.
> With 3.4.5 version the getMessage() returns correct error message.
> /**
> * <p>Only for RS Exception</p>
> *
> * @return \{@link Status}
> */
> @Override
> public Status status() {
> return Status.BAD_REQUEST;
> }
> }
--
This message was sent by Atlassian Jira
(v8.20.1#820001)