net.sourceforge.wurfl.core
Class DeviceNotDefinedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.sourceforge.wurfl.core.WURFLRuntimeException
                  extended by net.sourceforge.wurfl.core.DeviceNotDefinedException
All Implemented Interfaces:
Serializable

public class DeviceNotDefinedException
extends WURFLRuntimeException

Device is not defined in WURFL.

Exception thrown if the requested device is not defined in the WURFL.

Version:
$Id: DeviceNotDefinedException.java 432 2010-05-06 12:12:53Z filippo.deluca $
Author:
Fantayeneh Asres Gizaw, Filippo De Luca
See Also:
Serialized Form

Constructor Summary
DeviceNotDefinedException(String deviceId)
          Constructor by device id.
DeviceNotDefinedException(String deviceId, String message)
          Constructor by device id and message to display.
 
Method Summary
 String getDeviceId()
          Return the not defined device id.
 
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

DeviceNotDefinedException

public DeviceNotDefinedException(String deviceId,
                                 String message)
Constructor by device id and message to display.

Parameters:
deviceId - The device id not found.

DeviceNotDefinedException

public DeviceNotDefinedException(String deviceId)
Constructor by device id.

Parameters:
deviceId - The device id not found.
Method Detail

getDeviceId

public String getDeviceId()
Return the not defined device id.

Returns:
a String containing the not defined device id.


Copyright © 2008-2010 WURFL-Pro srl. All Rights Reserved.