net.sourceforge.wurfl.core.resource
Class BadCapabilityGroupException

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.WURFLConsistencyException
                      extended by net.sourceforge.wurfl.core.resource.DeviceConsistencyException
                          extended by net.sourceforge.wurfl.core.resource.CapabilityConsistencyException
                              extended by net.sourceforge.wurfl.core.resource.BadCapabilityGroupException
All Implemented Interfaces:
Serializable

public class BadCapabilityGroupException
extends CapabilityConsistencyException

Bad capability position exception

This exception is thrown when a capability is defined in a different group in which is defined by generic.

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

Constructor Summary
BadCapabilityGroupException(ModelDevice device, String capability, String badGroup, String rightGroup)
           
 
Method Summary
 String getBadGroup()
          Return the group actually definig the capability.
 String getRightGroup()
          Return the identifier of group should defining the capability.
 
Methods inherited from class net.sourceforge.wurfl.core.resource.CapabilityConsistencyException
getCapability
 
Methods inherited from class net.sourceforge.wurfl.core.resource.DeviceConsistencyException
getDevice
 
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

BadCapabilityGroupException

public BadCapabilityGroupException(ModelDevice device,
                                   String capability,
                                   String badGroup,
                                   String rightGroup)
Method Detail

getRightGroup

public String getRightGroup()
Return the identifier of group should defining the capability.

Returns:
The identifier of right group.

getBadGroup

public String getBadGroup()
Return the group actually definig the capability.

Returns:
The identifier of bad definig group.


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