use of org.apache.hello_world_soap_http.types.FaultDetail in project camel by apache.
the class GreeterImpl method pingMe.
public void pingMe(String messageIn) throws PingMeFault {
FaultDetail faultDetail = new FaultDetail();
faultDetail.setMajor((short) 2);
faultDetail.setMinor((short) 1);
LOG.info("Executing operation pingMe, throwing PingMeFault exception, message = " + messageIn);
System.out.println("Executing operation pingMe, throwing PingMeFault exception\n");
throw new PingMeFault("PingMeFault raised by server", faultDetail);
}
use of org.apache.hello_world_soap_http.types.FaultDetail in project camel by apache.
the class GreeterImpl method pingMe.
public void pingMe(String messageIn) throws PingMeFault {
FaultDetail faultDetail = new FaultDetail();
faultDetail.setMajor((short) 2);
faultDetail.setMinor((short) 1);
LOG.info("Executing operation pingMe, throwing PingMeFault exception, message = " + messageIn);
LOG.info("Executing operation pingMe, throwing PingMeFault exception\n");
throw new PingMeFault("PingMeFault raised by server", faultDetail);
}
Aggregations