Constructors Summary |
---|
public SIPServerException(int rc)Constructor when we are given only the error code
this.rc = rc;
if (Logging.REPORT_LEVEL <= Logging.INFORMATION) {
printStackTrace();
}
|
public SIPServerException(int rc, String msg)Constructor for when we have the error code and some error info.
this.rc = rc;
this.message = msg;
if (Logging.REPORT_LEVEL <= Logging.INFORMATION) {
printStackTrace();
}
|
public SIPServerException(int rc, Message message, String msg)Constructor for when we have a return code and a Message.
this.rc = rc;
this.sipMessage = message;
this.message = msg;
if (Logging.REPORT_LEVEL <= Logging.INFORMATION) {
printStackTrace();
}
|
public SIPServerException(String response)Constructor when we have a pre-formatted response.
super(response);
ServerLog.logException(this);
|
public SIPServerException(int rc, Message sipMessage)Constructor that constructs the message from the standard
Error messages.
this.rc = rc;
this.sipMessage = sipMessage;
|