net.sourceforge.wurfl.core.resource
Class CapabilityConsistencyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.sourceforge.wurfl.core.WURFLRuntimeException
net.sourceforge.wurfl.core.resource.WURFLConsistencyException
net.sourceforge.wurfl.core.resource.DeviceConsistencyException
net.sourceforge.wurfl.core.resource.CapabilityConsistencyException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- BadCapabilityGroupException, InexistentCapabilityException
public abstract class CapabilityConsistencyException
- extends DeviceConsistencyException
Capability generic consistency exception
This is a abstract class representing all DeviceConsistencyException
regarding single capability.
- Version:
- $Id: CapabilityConsistencyException.java 432 2010-05-06 12:12:53Z filippo.deluca $
- Author:
- Fantayeneh Asres Gizaw, Filippo De Luca
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
CapabilityConsistencyException
public CapabilityConsistencyException(ModelDevice device,
String capability)
- Build the Exception by devices and capability.
- Parameters:
device -
CapabilityConsistencyException
public CapabilityConsistencyException(ModelDevice device,
String capability,
String message)
- Build the Exception by devices and capability.
- Parameters:
device -
getCapability
public String getCapability()
- Return the capability object of this Exception.
- Returns:
- The identifier of the target capability.
Copyright © 2008-2010 WURFL-Pro srl. All Rights Reserved.