/** * Create an instance of {@link NoCurrentMessageOnTopicFaultType } * */ public NoCurrentMessageOnTopicFaultType createNoCurrentMessageOnTopicFaultType() { return new NoCurrentMessageOnTopicFaultType(); }
/** * Create an instance of {@link NoCurrentMessageOnTopicFaultType } * */ public NoCurrentMessageOnTopicFaultType createNoCurrentMessageOnTopicFaultType() { return new NoCurrentMessageOnTopicFaultType(); }
/** * Create an instance of {@link NoCurrentMessageOnTopicFaultType } * */ public NoCurrentMessageOnTopicFaultType createNoCurrentMessageOnTopicFaultType() { return new NoCurrentMessageOnTopicFaultType(); }
public GetCurrentMessageResponse getCurrentMessage( @WebParam(partName = "GetCurrentMessageRequest", name = "GetCurrentMessage", targetNamespace = "http://docs.oasis-open.org/wsn/b-2") GetCurrentMessage getCurrentMessageRequest) //CHECKSTYLE:OFF - WS-Notification spec throws a lot of faults throws InvalidTopicExpressionFault, ResourceUnknownFault, TopicExpressionDialectUnknownFault, MultipleTopicsSpecifiedFault, NoCurrentMessageOnTopicFault, TopicNotSupportedFault { //CHECKSTYLE:ON NoCurrentMessageOnTopicFaultType fault = new NoCurrentMessageOnTopicFaultType(); throw new NoCurrentMessageOnTopicFault("There is no current message on this topic.", fault); }
/** * * @param getCurrentMessageRequest * @return returns org.oasis_open.docs.wsn.b_1.GetCurrentMessageResponse * @throws MultipleTopicsSpecifiedFault * @throws TopicNotSupportedFault * @throws InvalidTopicExpressionFault * @throws ResourceUnknownFault * @throws TopicExpressionDialectUnknownFault * @throws NoCurrentMessageOnTopicFault */ @WebMethod(operationName = "GetCurrentMessage") @WebResult(name = "GetCurrentMessageResponse", targetNamespace = "http://docs.oasis-open.org/wsn/b-1", partName = "GetCurrentMessageResponse") public GetCurrentMessageResponse getCurrentMessage( @WebParam(name = "GetCurrentMessage", targetNamespace = "http://docs.oasis-open.org/wsn/b-1", partName = "GetCurrentMessageRequest") GetCurrentMessage getCurrentMessageRequest) //CHECKSTYLE:OFF - WS-Notification spec throws a lot of faults throws InvalidTopicExpressionFault, MultipleTopicsSpecifiedFault, NoCurrentMessageOnTopicFault, ResourceUnknownFault, TopicExpressionDialectUnknownFault, TopicNotSupportedFault { //CHECKSTYLE:ON LOGGER.finest("GetCurrentMessage"); NoCurrentMessageOnTopicFaultType fault = new NoCurrentMessageOnTopicFaultType(); throw new NoCurrentMessageOnTopicFault("There is no current message on this topic.", fault); }