|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
net.java.sip.communicator.service.neomedia.MediaException
public class MediaException
Implements an Exception thrown by the neomedia service interfaces and their implementations. MediaException carries an error code in addition to the standard Exception properties which gives more information about the specifics of the particular MediaException.
| Field Summary | |
|---|---|
static int |
GENERAL_ERROR
The error code value which specifies that the MediaException carrying it does not give more information about its specifics. |
| Constructor Summary | |
|---|---|
MediaException(String message)
Initializes a new MediaException instance with a specific detailed message and GENERAL_ERROR error code. |
|
MediaException(String message,
int errorCode)
Initializes a new MediaException instance with a specific detailed message and a specific error code. |
|
MediaException(String message,
int errorCode,
Throwable cause)
Initializes a new MediaException instance with a specific detailed message, a specific error code and a specific Throwable cause. |
|
MediaException(String message,
Throwable cause)
Initializes a new MediaException instance with a specific detailed message, GENERAL_ERROR error code and a specific
Throwable cause. |
|
| Method Summary | |
|---|---|
int |
getErrorCode()
Gets the error code carried by this MediaException which gives more information about the specifics of this MediaException. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int GENERAL_ERROR
| Constructor Detail |
|---|
public MediaException(String message)
GENERAL_ERROR error code.
message - the detailed message to initialize the new instance with
public MediaException(String message,
int errorCode)
message - the detailed message to initialize the new instance witherrorCode - the error code which is to give more information about
the specifics of the new instance
public MediaException(String message,
Throwable cause)
GENERAL_ERROR error code and a specific
Throwable cause.
message - the detailed message to initialize the new instance withcause - the Throwable which is to be carried by the new
instance and which is to be reported as the cause for throwing the new
instance. If cause is null, the cause for throwing the
new instance is considered to be unknown.
public MediaException(String message,
int errorCode,
Throwable cause)
message - the detailed message to initialize the new instance witherrorCode - the error code which is to give more information about
the specifics of the new instancecause - the Throwable which is to be carried by the new
instance and which is to be reported as the cause for throwing the new
instance. If cause is null, the cause for throwing the
new instance is considered to be unknown.| Method Detail |
|---|
public int getErrorCode()
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||