public Response createResponse (String responseString ) throws java.text.ParseException { if (responseString == null) return new SIPResponse();
public Response createResponse( int statusCode, CallIdHeader callId, CSeqHeader cSeq, FromHeader from, ToHeader to, List via, MaxForwardsHeader maxForwards, Object content, ContentTypeHeader contentType) throws ParseException { if (callId == null || cSeq == null || from == null || to == null || via == null || maxForwards == null || content == null || contentType == null) throw new NullPointerException(" unable to create the response");
	public Response createResponse (String responseString ) 	throws java.text.ParseException {	    if (responseString == null)			return new SIPResponse();		StringMsgParser smp = new StringMsgParser();		SIPMessage sipMessage = smp.parseSIPMessage(responseString);		if (!(sipMessage instanceof SIPResponse))			throw new ParseException(responseString, 0);		return (SIPResponse) sipMessage;	}