net.sourceforge.wurfl.core.resource
Class DeviceNotInModelException

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.resource.DeviceNotInModelException
All Implemented Interfaces:
Serializable

public class DeviceNotInModelException
extends WURFLRuntimeException

The device is not managed by model.

This exception is thrown if the referenced device is not managed by model.

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

Constructor Summary
DeviceNotInModelException(ModelDevice modelDevice)
          Build DeviceNotInModelException by source ModelDevice.
 
Method Summary
 ModelDevice getModelDevice()
          Returns the held ModelDevice source of this exception.
 
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

DeviceNotInModelException

public DeviceNotInModelException(ModelDevice modelDevice)
Build DeviceNotInModelException by source ModelDevice.

Parameters:
modelDevice - The exception source.
Method Detail

getModelDevice

public ModelDevice getModelDevice()
Returns the held ModelDevice source of this exception.

Returns:
Not defined ModelDevice.


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