edu.rutgers.winlab.jmfapi
Class JMFException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by edu.rutgers.winlab.jmfapi.JMFException
All Implemented Interfaces:
java.io.Serializable

public class JMFException
extends java.lang.Exception

Exception class that is used to handle exceptions occurred in MobilityFirst's Java API

See Also:
Serialized Form

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

JMFException

public JMFException()

JMFException

public JMFException(java.lang.String message)
See normal Java Exceptions as reference

Parameters:
message - contains the error message

JMFException

public JMFException(java.lang.String message,
                    int code)
See normal Java Exceptions as reference

Parameters:
message - contains the error message

JMFException

public JMFException(java.lang.String message,
                    java.lang.Throwable cause)
See normal Java Exceptions as reference

Parameters:
message - contains the error message
cause -
Method Detail

getCode

public int getCode()
Get the error code

Returns:
the error code

setCode

public void setCode(int c)
Set the error code

Parameters:
c - the error code to be set