net.sourceforge.wurfl.core.resource
Class GroupConsistencyException
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.GroupConsistencyException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- InexistentGroupException
public abstract class GroupConsistencyException
- extends DeviceConsistencyException
Generic group consistency exception.
This abstract Exception is thrown when a ModelDevice has a bad group
definition.
- Version:
- $Id: GroupConsistencyException.java 432 2010-05-06 12:12:53Z filippo.deluca $
- Author:
- Fantayeneh Asres Gizaw, Filippo De Luca
- See Also:
- Serialized Form
|
Method Summary |
String |
getGroup()
Return the group object of this exception. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
GroupConsistencyException
public GroupConsistencyException(ModelDevice device,
String group)
- Build this Exception by Group identifier and source device.
- Parameters:
device - The ModelDevice having bad group definition.group - The group object of this Exception.
GroupConsistencyException
public GroupConsistencyException(ModelDevice device,
String group,
String message)
- Build this Exception by Group identifier, source device and message.
- Parameters:
device - The ModelDevice having bad group definition.group - The group object of this Exception.message - The message displaying by this exception.
getGroup
public String getGroup()
- Return the group object of this exception.
- Returns:
- Identifier of group object of this instance.
Copyright © 2008-2010 WURFL-Pro srl. All Rights Reserved.