Guys, help, can't manage to use CXF faults

2007-10-18 Thread Egor Samarkhanov
Hi ! I have a simple exception class: @WebFault(name = faultDetail) public class NotLoggedInException extends Exception { private NotLoggedInFaultDetail faultDetail; public NotLoggedInException( String message ) { super( message ); } public NotLoggedInException(

Re: Guys, help, can't manage to use CXF faults

2007-10-18 Thread Daniel Kulp
The NotLoggedInFaultDetail object needs a default constructor. All JAXB beans need to have a default constructor. If you add that, it should work. Dan On Thursday 18 October 2007, Egor Samarkhanov wrote: Hi ! I have a simple exception class: @WebFault(name = faultDetail) public

Re[2]: Guys, help, can't manage to use CXF faults

2007-10-18 Thread Egor Samarkhanov
Hello ! Thank you, now it works. I think it would be helpful to provide this info right in the exception. Thursday, October 18, 2007, 8:06:42 PM, you wrote: DK The NotLoggedInFaultDetail object needs a default constructor. All JAXB DK beans need to have a default constructor. If you add