public class Rel100Exception
extends javax.servlet.ServletException
| Modifier and Type | Field and Description |
|---|---|
static int |
NO_REQ_SUPPORT
Reason code indicating that the UAC didn't indicate support for the reliable responses extension in the request.
|
static int |
NOT_100rel
Reason code indicating that SipServletResponse.createPrack() was invoked on a provisional response that is not reliable.
|
static int |
NOT_1XX
Reason code indicating that
was invoked on a final or a 100 response.
|
static int |
NOT_INVITE
Reason code indicating that
was invoked for a response to a non-INVITE request.
|
static int |
NOT_SUPPORTED
Reason code indicating that the container does not support reliable provisional response.
|
| Constructor and Description |
|---|
Rel100Exception(int reason)
Constructs a new Rel100Exception with the specified error reason.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage()
Returns message phrase suitable for the reason integer code.
|
int |
getReason()
Returns an integer code indicating the specific reason why this exception was thrown.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final int NOT_1XX
public static final int NOT_INVITE
public static final int NO_REQ_SUPPORT
public static final int NOT_SUPPORTED
public static final int NOT_100rel
public Rel100Exception(int reason)
reason - - one of NOT_1XX, NOT_INVITE, NO_REQ_SUPPORT, NOT_SUPPORTED, NOT_100relpublic String getMessage()
getMessage in class Throwablepublic int getReason()
Copyright © 2016. All Rights Reserved.