/** * Constructor. * * @param messageText - this will appear as the Text in the Reason information item of SOAP Fault * @param faultCode - this will appear as the Value in the Code information item of SOAP Fault */ public AxisFault(String messageText, String faultCode) { this(messageText); setFaultCode(faultCode); }
/** * Constructor. * * @param message the human-readable text describing the fault */ public AxisFault(String message) { this.message = message; addReason(message); }
public OMElement processDocument(InputStream inputStream, String contentType, MessageContext messageContext) throws AxisFault { throw new AxisFault("A message with content type application/xop+xml can only appear in a MIME multipart message"); }
/** * Constructor * * @param faultCode - fault code of the message as a QName * @param faultSubCodes - list sub fault codes as a list if QNames * @param faultReason - the reason for the fault. The language will be defaulted to 'en' * @param cause embedded fault which caused this one */ public AxisFault(QName faultCode, List<QName> faultSubCodes, String faultReason, Throwable cause) { this(faultReason, cause); setFaultCode(faultCode); setFaultSubCodes(faultSubCodes); }
public String getVersion() throws Exception { return "Hello I am Axis2 version service ," + " My version is " + org.apache.axis2.Version.getVersionText(); } }
public AxisFault(SOAPFault fault, MessageContext faultCtx) { initializeValues(fault); faultMessageContext = faultCtx; }
public SMPPMessage(String sender ,String reciever, String content , int direction) throws AxisFault { this.sender = sender; this.content = content; this.receiver = reciever; if (direction == IN_MESSAGE || direction == OUT_MESSAGE ) { this.direction = direction; } else { throw new AxisFault("Message must be in or out"); } }
/** * @param messageText - this will appear as the Text in the Reason information item of SOAP Fault * @param faultCode - this will appear as the Value in the Code information item of SOAP Fault * @param cause - this will appear under the Detail information item of SOAP Fault */ public AxisFault(String messageText, QName faultCode, Throwable cause) { this(messageText, cause); setFaultCode(faultCode); }
/** * Constructor. * * @param message the human-readable text describing the fault */ public AxisFault(String message) { this.message = message; addReason(message); }
public OMElement processDocument(InputStream inputStream, String contentType, MessageContext messageContext) throws AxisFault { throw new AxisFault("A message with content type application/xop+xml can only appear in a MIME multipart message"); }
/** * @param messageText - this will appear as the Text in the Reason information item of SOAP Fault * @param faultCode - this will appear as the Value in the Code information item of SOAP Fault * @param cause - this will appear under the Detail information item of SOAP Fault */ public AxisFault(String messageText, String faultCode, Throwable cause) { this(messageText, cause); setFaultCode(faultCode); }
/** * Constructor * * @param message this will appear as the Text in the Reason information item of SOAP Fault * @param cause the embedded Throwable that caused this fault */ public AxisFault(String message, Throwable cause) { super(message, cause); if (message != null) { addReason(message); this.message = message; } }
/** * Return all accumulated data about this module * * @param moduleId * @param moduleVersion * @return status of the module * @throws AxisFault */ public Object[] getModuleStatus(String moduleId, String moduleVersion) throws AxisFault { throw new AxisFault("Operation not implemented"); }
/** * Constructor * * @param faultCode - fault code of the message as a QName * @param faultReason - the reason for the fault. The language will be defaulted to 'en' * @param cause embedded fault which caused this one */ public AxisFault(QName faultCode, String faultReason, Throwable cause) { this(faultReason, cause); setFaultCode(faultCode); }
/** * Constructor * * @param messageText this will appear as the Text in the Reason information item of SOAP Fault * @param faultCode this will appear as the Value in the Code information item of SOAP Fault */ public AxisFault(String messageText, QName faultCode) { this(messageText); setFaultCode(faultCode); }
/** * Constructor * * @param messageText this will appear as the Text in the Reason information item of SOAP Fault * @param faultCode this will appear as the Value in the Code information item of SOAP Fault */ public AxisFault(String messageText, QName faultCode) { this(messageText); setFaultCode(faultCode); }
/** * @param messageText - this will appear as the Text in the Reason information item of SOAP Fault * @param faultCode - this will appear as the Value in the Code information item of SOAP Fault * @param cause - this will appear under the Detail information item of SOAP Fault */ public AxisFault(String messageText, QName faultCode, Throwable cause) { this(messageText, cause); setFaultCode(faultCode); }
/** * Constructor * * @param faultCode - fault code of the message as a QName * @param faultReason - the reason for the fault. The language will be defaulted to 'en' * @param cause embedded fault which caused this one */ public AxisFault(QName faultCode, String faultReason, Throwable cause) { this(faultReason, cause); setFaultCode(faultCode); }
/** * @param messageText - this will appear as the Text in the Reason information item of SOAP Fault * @param faultCode - this will appear as the Value in the Code information item of SOAP Fault * @param cause - this will appear under the Detail information item of SOAP Fault */ public AxisFault(String messageText, String faultCode, Throwable cause) { this(messageText, cause); setFaultCode(faultCode); }
/** * Constructor. * * @param messageText - this will appear as the Text in the Reason information item of SOAP Fault * @param faultCode - this will appear as the Value in the Code information item of SOAP Fault */ public AxisFault(String messageText, String faultCode) { this(messageText); setFaultCode(faultCode); }