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 9 int getCause(); 10 void setCause(int cause) throws InvalidArgumentException; 11 12 String getProtocol(); 13 void setProtocol(String protocol) throws ParseException; 14 15 String getText(); 16 void setText(String text) throws ParseException; 17 } 18