|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
edu.rutgers.winlab.jmfapi.JMFException
public class JMFException
Exception class that is used to handle exceptions occurred in MobilityFirst's Java API
Constructor Summary | |
---|---|
JMFException()
|
|
JMFException(java.lang.String message)
See normal Java Exceptions as reference |
|
JMFException(java.lang.String message,
int code)
See normal Java Exceptions as reference |
|
JMFException(java.lang.String message,
java.lang.Throwable cause)
See normal Java Exceptions as reference |
Method Summary | |
---|---|
int |
getCode()
Get the error code |
void |
setCode(int c)
Set the error code |
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 |
Constructor Detail |
---|
public JMFException()
public JMFException(java.lang.String message)
message
- contains the error messagepublic JMFException(java.lang.String message, int code)
message
- contains the error messagepublic JMFException(java.lang.String message, java.lang.Throwable cause)
message
- contains the error messagecause
- Method Detail |
---|
public int getCode()
public void setCode(int c)
c
- the error code to be set
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |