com.esf.device.modem.exception
Class ModemException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.esf.device.modem.exception.ModemException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
CnsErrorResponseException, InvalidModemParameterException, ModemCnsProtocolException, ModemConfigurationException, ModemConnectionNotAllowedException, ModemNotAvailableForATcommandsException, ModemOperationFailedException, ModemOperationInProgressException, ModemOperationNotAllowedException, ModemOperationNotSupportedException, ModemPrlWriteException

public class ModemException
extends java.lang.Exception

Defines ModemException

Author:
ilya.binshtok
See Also:
Serialized Form

Constructor Summary
ModemException()
          Create an instance with no message about why the Exception was thrown.
ModemException(java.lang.String msg)
          Creates an instance with a message about why the Exception was thrown.
ModemException(java.lang.String msg, java.lang.Throwable e)
          Creates an instance with a message about why the Exception was thrown.
 
Method Summary
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ModemException

public ModemException()
Create an instance with no message about why the Exception was thrown.


ModemException

public ModemException(java.lang.String msg)
Creates an instance with a message about why the Exception was thrown.

Parameters:
msg - - detailed message explaining the reason for the Exception.

ModemException

public ModemException(java.lang.String msg,
                      java.lang.Throwable e)
Creates an instance with a message about why the Exception was thrown.

Parameters:
msg - - message explaining the reason for the exception as String
e - - nested exception as Throwable