1 package javax.sip.header; 2 3 import java.text.ParseException; 4 import javax.sip.InvalidArgumentException; 5 6 public interface ReasonHeader extends Header, Parameters { 7 String NAME = "Reason"; 8 getCause()9 int getCause(); setCause(int cause)10 void setCause(int cause) throws InvalidArgumentException; 11 getProtocol()12 String getProtocol(); setProtocol(String protocol)13 void setProtocol(String protocol) throws ParseException; 14 getText()15 String getText(); setText(String text)16 void setText(String text) throws ParseException; 17 } 18